LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I write a bit to DIO-96 card?

hi, i do not have any problem downloading them.
By the way, the VIs were created using LV6i
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 11 of 26
(1,586 Views)
hy Ian,
I would willingly rate you, but at the moment the answers didn´t help me really...
I´ve phoned with the support of NI. The man said that there are perhaps problems with the interrupts of the different cards. So I will try it again and take the other cards out of the pc. after I can´t open your vi. I will attach you the write.vi from me. Perhaps you can have a look on it. Thanks.
0 Kudos
Message 12 of 26
(1,450 Views)
ok, I think that´s the problem, becaus I have only LabView 5.1
0 Kudos
Message 13 of 26
(1,450 Views)
yes, you may wanna show the radix for the Digital Controls (hex/ binary will be of easier control of bits) and use line mask if necessary.

Perform Port config only once!
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 14 of 26
(1,450 Views)
Sorry, we have Labvie6 but on an other pc. I´ve tested your write.vi but it doesnt´t work. When I´ve digital channel 0, line mask -1 and pattern 0, than I thought it must be written on port 10, but there was no signal not on pin 10 and not on the others! What´s the mistake?
I think Im`m too stupid!
0 Kudos
Message 15 of 26
(1,450 Views)
now, the write.vi is yours. I have not done any changes to it.

1. Show radix of your digital controls (pattern/ line mask)
2. If you wanna write to line 1 (LSB), set your Line Pattern = 1 (hex) or 1 (binary)
3. If necessary, set your Line mask = 1 (hex)/ 1 (binary)


A 0 to Pattern (without line mask set) would means setting all to low.

Hope this is crystal clear now 🙂

Cheers
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 16 of 26
(1,450 Views)
Now it works! Now I can work with the program to test for daisy chain... thank you
0 Kudos
Message 17 of 26
(1,450 Views)
Great! Please rate my answer ya.
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 18 of 26
(1,450 Views)
Hello;

The VI is not working with the other board since the VIs used with the 6533 are different than the ones used with the DIO-96.

You can find examples for the DIO-96 board at Search Examples->I/O Interfaces->Data Acquisition->Digital Input and Output->Immediate Digital Input and Output. Take the ones under the 8255 device.

Hope this helps.
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 19 of 26
(1,422 Views)
Thanks, but the vi is working, now there is only one more problem. I don´t know how to change the mode of the dio-96- There are 3 modes. Do you know how to change them?
0 Kudos
Message 20 of 26
(1,422 Views)