Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

stepper motor control +parallel port

yeah i have upload it. But i need to read some pins of the parrallel port then i should use VISA Read and then how can i configurate the number of the pin?

 

0 Kudos
Message 41 of 45
(1,377 Views)
I'm not sure you can read. If you can, you would read all 8 data pins at once. The string returned can be converted to a U8 with the typecast or String to Byte Array.
0 Kudos
Message 42 of 45
(1,375 Views)

@mriwah wrote:

could you please send me a blank.vi allowing me to read and write from a parallel port. Im not getting what you mean 😞


 


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 43 of 45
(1,372 Views)

but in a parallel port we have a data register which is my output (so im going to write on these 8pins) and a status data which is my input that i should read (4pins)  so ? an idea to read them?

0 Kudos
Message 44 of 45
(1,369 Views)
My memory was correct about not being able to read with VISA - http://digital.ni.com/public.nsf/allkb/B937AC4D8664E37886257206000551CB

Better to get an inexpensive digital I/O device.
0 Kudos
Message 45 of 45
(1,354 Views)