From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-26-2012 08:23 AM
Hello everybody,
I am really stuck with the USB 6343 currently: I am using the 4 counters on this USB device to generate output pulses on PFI0 to 10.
It works fine, but when I run the example from the figure below for output terinal PFI0 (I have attached LEDS) it runs fine.
Now if I select PFI1 for the second time I run this VI, then PFI0 ALSO fires simultaneously.
So for some reason this mapping is not cleared when the task is terminated. Only thing that works is disconnecting the USB plug and plugging in again.
Any suggestions?
07-31-2012 03:07 AM
Hi Faust
I think you will find the following article usable:
Disconnecting Hardware Routes Using the DAQmx Tristate VI and DAQmx Disconnect Terminals VI:
http://digital.ni.com/public.nsf/allkb/5499F43F847E01AC86256ED10067505C?OpenDocument
Please let me know if this solves your problem:
Best Regards
Anders Rohde
Applications Engineer
National Instruments Denmark
07-31-2012 03:21 AM
Thank you Anders. I will reply with my finding
07-31-2012 03:25 AM
Well, this works! Do you also know how I route multiple output ports to a single counter (in one instance)?
When I use the property node twice for output terminal in the same task, it returns an error.
I actually used my 'problem' sometimes to my benefit when I want 2 terminals to 1 counter, by running the VI twice.
Thanks again for the help
08-01-2012 05:19 AM
Hi Fous,
I think that you can look at the links below.
http://digital.ni.com/public.nsf/allkb/576022B164F675B786256B6500625497?OpenDocument
http://zone.ni.com/devzone/cda/epd/p/id/5043
http://zone.ni.com/devzone/cda/epd/p/id/4422
Hope this helps!
Regards,
Hossein
08-01-2012 05:24 AM
Thank you for the suggestion.
I can route multiple output terminals for CNTR 0 and 1, but it returns an error for cntr 2 and 3 (always).
08-01-2012 05:26 AM
Hi Fous,
Which error do you get every time? Could you make a screenshot of it and reply to this ?
Thanks,
Hossein
08-01-2012 06:01 AM
Yes, I can see attached!
08-01-2012 06:03 AM
I put a case around the ''DAQMX Connect Terminals" subvi. I can use this for cntr 0 and cntr 1, and it returns an error for cntrs 2 and 3.
When I select only 1 outut terminal for cntr 2 and 3 it works fine (so setting case to F)
08-01-2012 07:32 AM
Hi Fous,
Below you can find the useful information about that error.
http://digital.ni.com/public.nsf/allkb/5E5FF6D0FE2D721A86257695005B1E7D?OpenDocument
Regards,
Hossein