I have the following hardware and software.
- LabView 8.6
I'm using the digital output vi from the example of LabView 8.6. This exampel vi works with the cFP-DIO-550. However, because the example has 16 channels and the cFP-DIO-550 only has 8, I can only toggle the last 8 channels from the digital ouput vi screen. How can I reduce or reconfigure to change from 16 to 8 channels on the vi to make it work?
Could you post the VI you're talking about, or the name of the example and what folder it's in? It would help to be able to see what you're referring to. This may be something where you need to change how the module is being referenced, or you may simply need to adjust the front panel. It's hard to tell though without knowing what code you're working with.
Right click on the array and choose the option Set Size. Change it from 16 to 8.
I did not realize such a thing as a "Fixed Size Array" existed. I have no idea how to create it from scratch, but it seems to be related to FPGA programming. I have no idea why an example for Fieldpoint would have required a fixed size array control.
When I set the dimension from 16 to 8, it only grayed out the last 8 of the 16 D/Os (They look like toggle switches on my vi panel) and the first 8 D/Os still show up. As for the control, I can only toggle the last 8 D/Os when the vi program is running.
Thanks for helping.
I have created a vi that's able to read one of the digital inputs of a cFP-DIO-550 and turns on a digital output to energize a 24VDC external mechanical relay. My question is the relay would stay on even the vi is stop running and digital input is disconnected. What can I do to make the relay goes off as soon as the vi is stop running?
I believe he is referring to inserting an additional FieldPoint write after the loop with a constant array full of falses. This would turn all of your digital outputs off after you finish your loop. I've inserted a picture of this below.