LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reading/writing digital lines without external hardware (besides daq device)

Hi,

I have a USB-6259 (mass termination).  I don't have any additional hardware, just the USB device.  I  am trying to use the MAX utility (4.2.1) with NIDAQmx (8.5).  I eventually want to program digital lines (read and write them) using the NIDAQmx API.  I ran some of the VB6 samples.  I thought how it works is that I could run the WriteDigChan VB code to set line(s) on or off, then use the ReadDigChan VB code to read those lines I changed.  However that did not work so I started created some tasks using MAX however that does not work either.  I hope this is not too stupid a question but I am not too familiar with the hardware.  Do I need some additional hardware connected to my 6259 to keep those digital lines in one state or another?

thanks, David Smiley Indifferent
0 Kudos
Message 1 of 4
(2,643 Views)
You don't need any additional hardware.

I don't know how to use the device with VB however.

André
Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 4
(2,639 Views)
Without regard to using it in VB, I am trying to understand the operation in MAX.  I am attaching two screenshots of 2 tasks that I am using.

thanks for replying, David
Download All
0 Kudos
Message 3 of 4
(2,632 Views)