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.
10-31-2012 11:23 PM
Hi Ni,
1. I have a HWS vector include 50 output signals and 2 PXIe 6556 cards. How could I build a Labview program to configure the ports of PXIe cards with this vector?
2. Could I configure PXI on PXIe 6556 card as IO port?How could I do it?
Thanks and Best regards,
AnDong
Solved! Go to Solution.
11-01-2012 02:58 PM
Hi An_Dong,
Have you taken a look through the LabVIEW shipping examples for HSDIO? There is an example of how to generate based on waveforms from an HWS file in the example finder. Are you using an HWS file? To find this example, go to help -> Find Examples. From there, follow this path:
Hardware Input and Output -> Modular Instruments -> NI-HSDIO -> Dynamic Generation -> Non-Scripted -> Read HWS File and Generate.vi
Can you explain your 2nd question a little more? What do you mean by configuring PXI on PXIe?
Thanks,
David B
National Instruments
Applications Engineer
11-01-2012 03:38 PM
Hello AnDong,
You cannot configure the PFI lines for dynamic digital data. The PFI lines can be used to import/export specific dynamic signals like clocks, triggers, and events, or it can be used as a static digital interface. If you want to generate static data, you can only do this through the VI called "niHSDIO Write Static PFI (U32).vi". This will allow you to software time the changing of the digital data.
I hope this helps,
11-01-2012 09:30 PM
Hi Jesse O.,
It is very helpful for me to build the labview program. Thanks for your help.
AnDong
11-01-2012 10:06 PM
Hi David,
I can build a Labview program to read HWS file.
I refered Multi-Device Dynamic Generation (Hardware Input and Output -> Modular Instruments -> NI-HSDIO -> Synchronization). I see that It can control multi PXI card but signals on each card are the same.
Because my HWS file have 48 signals, I need 2 PXIe 6556 cards with 48 DIO ports. Mean of my question is that do I have to split HWS file to build a Labview program to control the cards with 2 HWS file?
Thanks for your helps
AnDong
11-05-2012 03:42 PM - edited 11-05-2012 03:45 PM
Hi An_Dong,
I would recommend looking at this example posted to our community online:
HSDIO Multi-Device Dynamic Generation (TClk) One HWS File.vi
Thanks,
David B
National Instruments
Applications Engineer
09-18-2013 10:14 AM
Jessie_O,
Do you know if the PFI lines have the same capability with the 6555 card as they do with the 6556? Also, using the Write Static PFI... vi, I get and error "Insufficient location information or the device or resource is not present in the system." no matter how I configure the PFI. I have also tried a few different PFI lines to test this with. I know the PFI0 line on the 6555 card doesn't work no matter what, but on my 6556, it works fine. Just wondering if there is a compatibility difference?
09-18-2013 01:55 PM
The PXIe-6555 is capable of using the write static PFI function just like the PXIe-6556. This function only works on PFI0-3, and PFI24-31. It does not work on PFI4 and 5, as they are special PFI lines used for clocking.
The other PFIs should work. When you are using the assign static PFI channels function what are you using for the channel names? If you wanted to use PFI 0, 3, 24, 28 you would need to enter the channels as: PFI0, PFI3, PFI24, PFI28. If you just enter 0, 3, 24, 28 it will not work.
Regards