Dear users,
I have perhaps a stupid question: When do you use a shift register for a “DAQmx Task Name”, the “VISA resource name” or an error?
E.g. I am reading data from devices with the DAQmx Read/with the VISA Read Function.
When I took a look into the internet to see how I could improve my code I saw many examples like this:
http://digital.ni.com/public.nsf/allkb/CB86B3B174763C3E86256FFD007A2511
http://www.ni.com/white-paper/2835/en/ (there are many examples on this site).
You can see in these examples that no shift register was used for the “DAQmx Task Name” or an error.
But you can also find examples like this:
http://www.ni.com/white-paper/3727/de/ (scroll down to the last image)
open on your computer "…\examples\Instrument IO\Serial\Continuous Serial Write and Read.vi"
or "…\examples\Instrument IO\VISA\USB\USB RAW - Bulk.vi".
In both examples a shift register was used for the error and/or the the “VISA resource name”.
I really do not understand why shift register were used in the last examples. But perhaps one of you can give me an explanation.
Perhaps you could also give me a recommendation: Shall I use in general shift registers or tunnels for the “DAQmx Task Name”, the “VISA resource name” and the error?
I would be very happy to get a reply!