Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

My program uses digital i/o port to write four lines separately, and when another program is running, my program goes extremely slow. Why?

In my computer: Labview with PCI-6035E measuring card.
My program uses digital i/o port to write (Port write.vi) four lines separately.
Is there better way to do that, because I have to make my own CLOCK signal (line one) and the data bits (line two) must be set one at the time and so on...?
When another program, which reads data from an analog input line, is running, my program goes extremely slow?
0 Kudos
Message 1 of 4
(3,819 Views)
Can you post your VI so I can take a look at it? Thanks.

Mark
0 Kudos
Message 2 of 4
(3,819 Views)
Here is the vi-file.
That "Test Write.vi" must be replased by "DIO Port Write.vi" for real use.
U can mail to me if U find out something ergent.
e-mail: satuukka@st.jyu.fi

-Sampo-
0 Kudos
Message 3 of 4
(3,819 Views)
Keep in mind that the 6035 is only capable of unstrobed DIO. In order words, the timing of your digital write operations is controlled by software. Having more programs running on your computer is going to have an affect on the timing of these calls.

If you need strobed (hardware-timed) DIO, you can consider using a digital board in the 653x family which are capable of hardware-timed buffered pattern generation.
Or there are other digital boards that are capable of unstrobed handshaking.
0 Kudos
Message 4 of 4
(3,819 Views)