Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

About visa control My device

Hello,
As to know the prosess of a usb system (EZUSB FX2)I bought a develop board from vendor .And I do the steps as tutorial(Using NI-VISA 3.0 to Control Your USB Device). After install the driver which developed by visa's DDW, the MAX can recognize the device .But when I do the step 2.3, Test Communication with VISA Interactive Control Test Communication with VISA Interactive control , for my device.But as Fig shows, I can't use theose pipes.
My questions is that why theose pipes are inavlid.Whether shouId do more config in my FW and how to do (or any tutorial!)!
Or , I cann't control the device by visa at all. That's means I can only do the control by call a dll which develop by myself for the no DLL prvoided by vendor!
0 Kudos
Message 1 of 8
(4,601 Views)
-1 means that the settings are unknown, so you will need to set them. NI-VISA can be used with several different pipes and it will allow you to set the pipes. I have used it several times with the EZUSB FX2 eval board. If you load one of the USB example firmwares that shipped with the eval board, specifically the one that does a loopback on a few of the ports (I think it was called bulkloop) you can run this little LV 7.1 example.

-Josh
Message 2 of 8
(4,596 Views)
Thanks for the reply!
 
But when I test the usbLoopBack.vi example!
 
There is a error:The property node has one or more invalid properties or uninitialized property items.
 
So , what should I do next!
0 Kudos
Message 3 of 8
(4,572 Views)

After load  the USB example firmwares (bulk_out and bulk_in). In  MAX  I can see thoes setting (Fig ni-visa_pic.bmp)!

0 Kudos
Message 4 of 8
(4,568 Views)
And the front panel!
0 Kudos
Message 5 of 8
(4,567 Views)
Hello evrybody and Josh,
However, the USBRawBulkLV.zip example from ni.com can work. What's the reason for the former vi you provided  prompte the error : the property node has one or more invalid properties or uninitialized property items.! It seems that I cann't control via the usb setting item(such as bulk-out and bulk-in) from shortcut menu of Property Node(USB Raw) . But I can do it by using the intf type item as the the USBRawBulkLV.zip example does! Whether it caused  by the Initialize/Session step!
Waiting for help!
0 Kudos
Message 6 of 8
(4,541 Views)
It sounds like your VISA installation may be missing the most recent visarc file which tells LV what the current VISA properties are. Try reinstalling the latest NI-VISA from the web to see if that fixes the problem. If that doesn't work I can send you the one from my machine.

-Josh
Message 7 of 8
(4,534 Views)
Thanks!
0 Kudos
Message 8 of 8
(4,524 Views)