Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

Switching between digital input and output

I am using ELVIS II to develop a protopyte of product. The key thing is that I have to use one DIO port of ELVIS II to perform both read and write data. After sending data out of this port I have to read another data package back on the same port. The time to switch between reading and writing as short as possible (say about nanosecond or microsecond). I am also write a small software to measure the switching time of ELVIS II and I found that it take about 6 milisecond. This is not a good thing for my application.

Is there any way to speed the swtiching time up?

I alos attach the simple software that I use the measure the switch time of ELVIS.

0 Kudos
Message 1 of 2
(5,590 Views)

Hi zeroxx,

 

That kind of speed is definitely expected behavior when you are actually creating a channel each time for the read and write. If you had them on separate lines and created the channels beforehand it would run faster.

TimC
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(5,572 Views)