Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6501 command set

Hello Jennifer,

Thanks for the info on OPC.

I do have an additional question. I did read today that DAQmx works with virtual channels and connects to MAX. I also saw that under MAX one can have remote systems and its resources. Is it thinkable to use MAX to setup a channel to a remote computer where the USB-6501 resides and to connect in this way. I assume that the USB-6501 will be seen by MAX ... correct?

Thanks, Marc
0 Kudos
Message 11 of 22
(3,867 Views)
Hi Marc,
 
Remote systems are generally used for FieldPoint or remote VISA sessions.  DAQmx is not supported in this way.  To use DAQmx remotely, you must create the Global Virtual Channel.  The Global Virtual Channel is then made available to the network through OPC.
 
Regards,
 
Jennifer O.
0 Kudos
Message 12 of 22
(3,852 Views)
Jennifer,
 
Suppose I manage to control the USB 6501 via VISA USB RaW ... can I then access it remotely via LAN in a similar way as I can do that with GPIB instruments?
 
Thanks for the help, Marc
0 Kudos
Message 13 of 22
(3,840 Views)
As mentioned by Malcolm more than a year ago and Jennifer a week ago, the USB RAW information is not published and it doesn't sound like NI is planning to publish it any time soon.
0 Kudos
Message 14 of 22
(3,836 Views)
Dennis:

And, as mentioned by me and MarcVB, we could use that data in our applications.

--J^T

Message Edited by J^T on 12-04-2006 06:19 PM

0 Kudos
Message 15 of 22
(3,827 Views)
Dennis,

My question was more substantial then that. I was saying : "suppose I manage to use VISA USB RAW to control the USB-6501 (without help of NI)" .. will I be automatiically be able to access the USB-6501 through LAN from a remote computer as one can do with GPIB instruments. This was the question.

Thanks, Marc
0 Kudos
Message 16 of 22
(3,821 Views)
I understand perfectly the question but thought the whole question was moot since the USB RAW information is not available. Jennifer already said that remote access in MAX can be used for sharing VISA resources. I have the ability to do that with the USB instruments I'm using. The same is true of serial and GPIB instruments. If and when you get USB RAW programming information, you can do the same.
Message 17 of 22
(3,817 Views)

Is there anything new about this?

 

I cannot get the NI-DAQmx Base to work on Linux. The readDigPort example in nidaqmxbase/examples/dio always returns weird values (0xBF89EE18, 0xBFC7B9E8, 0xBFC15188, 0xBFA67FD8, 0xBF888DF8, ...). They do this even if the device is not connected to the PC ...

 

But even if it worked, I would not want to use it, because my program should be as independent and light-weight as possible, and it doesn't make any sense to use a library that together with its dependencies is more than 60M (!) big, when the same thing would be doable in a few KBs/lines of code using libusb, if only the protocol specs were made available.

0 Kudos
Message 18 of 22
(3,489 Views)

OK, so I sat down and analyzed the protocol LabView uses to communicate with the device, and wrote a simple driver: http://www.ai3.uni-bayreuth.de/members/schuetz/niusb6501/


I hope it is useful for some people.

Message 19 of 22
(3,408 Views)

Marc:

 

Super!! Thank you!

 

Danke vielmals! 

 

--J^T 

0 Kudos
Message 20 of 22
(3,403 Views)