02-16-2007
03:52 AM
- last edited on
05-20-2024
05:16 PM
by
Content Cleaner
02-19-2007 11:14 AM
02-19-2007 09:49 PM
02-20-2007 03:18 AM
Is there any example where i have both the VI and the C8051F320 code to communicate using USB using VISA read/write
Regards
sowmya
02-20-2007 03:34 AM
02-20-2007 05:35 AM
Thanks for the reply. I used SiUSBXp.dll so i could communicate using USB but now i am trying to do the same using VISA (Open,Read,Write,Close) but have problems in identifying the open of the device and even read/write gives me a time out error(–1073807339).So if u have a VI and firmware(C8051F320) where the USB communication works without DLL please mail me.
Regards,
sowmya
02-20-2007
09:18 AM
- last edited on
05-20-2024
05:16 PM
by
Content Cleaner
Unfortunately I do not have the C8051F320 device.
When your LabVIEW app uses NI-VISA USB, could the app successfully open the device with viOpen() function? Then, what VISA resource string did you pass to the viOpen() call? If you are unable to open the Visa Session with Open call, see the document shown in the following URL:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x1qzCAA&l=en-US#1
Assuming your app successfully opened a Visa Session by viOpen(), you can now use viWrite() and viRead() for BULK-OUT and BULK-IN endpoints respectively. The VISA USB RAW protocol does not provide any filter on the write/read IOs, viWrite() and viRead() functions simply stream out/in the data "as is" without any modification.
02-20-2007 09:29 AM