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,
Solved! Go to Solution.
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?
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,
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
I would recommend looking at this example posted to our community online:
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?
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.