CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

LABVIEW and USB ??????

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Joe Pantera



Joined: 26 Jan 2006
Posts: 3

View user's profile Send private message Send e-mail MSN Messenger

LABVIEW and USB ??????
PostPosted: Thu Jan 26, 2006 9:31 pm     Reply with quote

Hi I'm working with Labview. I do a Bulk transmission. I can write with the visa but I can't read.
I know that
To transfer data using a bulk pipe, use VISA Read and VISA Write.

if (modo == 0)
{
resultado = par1 + par2;
usb_put_packet(1, envia, 1, USB_DTS_TOGGLE);
}

I tried to write with the visa and all right, in other modo. Is there somebody who could help me. with this problem.
_________________
Perdon por mi Ingles pero soy de Mexican Pan de Las Tunas
j_girl
Guest







USB and Labview
PostPosted: Wed Apr 26, 2006 6:06 pm     Reply with quote

Hi,

I am also trying to use Labview with a PIC device using Bulk Transfer and we are having problems with the VISA Read program. Did you ever get your program working? If so, was the problem with the VISA read or was it the PIC and what was the fix?

Thanks,
j_girl
J1M



Joined: 15 Feb 2005
Posts: 21

View user's profile Send private message Visit poster's website

PostPosted: Mon May 01, 2006 2:32 am     Reply with quote

Here you have an example for PicUSB, do exactly the same that VC# program for PicUSB on this page:

http://www.hobbypic.com

http://perso.wanadoo.es/j1m/picusb_labview.rar

regards!
carmarmu



Joined: 09 May 2006
Posts: 15
Location: Valencia (Spain)

View user's profile Send private message Send e-mail MSN Messenger

Re: USB and Labview
PostPosted: Fri May 12, 2006 12:43 pm     Reply with quote

I have an acquisition board done with a PIC18 with an external AD converter of 16 bits, and with the GUI with LABVIEW 7.1 (and too a remake in labview 8) and works perfectly.
I have done with Driver 2.0
Labview even helps you to generate specific driver.
I think that the problem that you have is that stays not using the suitable functions (to avoid the Express), for that reason it doesn�t work well. You watch in Labview Zone,you have simple programs that will help you to program your application correctly.
Luck.
j_girl wrote:
Hi,

I am also trying to use Labview with a PIC device using Bulk Transfer and we are having problems with the VISA Read program. Did you ever get your program working? If so, was the problem with the VISA read or was it the PIC and what was the fix?

Thanks,
j_girl

_________________
**CaRmArMu** Valencia (Spain)
Warunaedu
Guest







USB and LABVIEW
PostPosted: Mon Jul 03, 2006 3:15 am     Reply with quote

Hi, I have PICDEM FS demoboard, I wanted to make a labview program similer to PICDEM tool (read ADC/on off LED...) with VISA. I was able to create the driver for both BOOTLOADER and DEMO but not been able to read/write anything. If you know how to read, I would like to know how.
Thank you,
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group