FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

cFP-DIO-550

 

I have the following hardware and software.

 

- cFP-2220

- cFP-DIO-550

- 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?

 

Thanks

 

 

0 Kudos
Message 1 of 10
(6,154 Views)

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.

Miles G.
National Instruments
Staff Applications Engineering Specialist
0 Kudos
Message 2 of 10
(6,134 Views)

Attached is the example vi that I'm using.  It can also be found in Labview 8.6.  Thanks.

 

0 Kudos
Message 3 of 10
(6,127 Views)

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.

0 Kudos
Message 4 of 10
(6,119 Views)

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.

0 Kudos
Message 5 of 10
(6,111 Views)

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?

 

Thanks

 

 

0 Kudos
Message 6 of 10
(6,054 Views)

After your loop ends, have a digital write that sets the channel to False, then allow your VI to end.

0 Kudos
Message 7 of 10
(6,050 Views)

Can you elaborate more on that or give an example?  Thanks.

0 Kudos
Message 8 of 10
(6,039 Views)

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. 

 

FieldPoint_Forum.png

Miles G.
National Instruments
Staff Applications Engineering Specialist
0 Kudos
Message 9 of 10
(6,019 Views)

Finally got a chance to try it out and.......it works. 

 

Thank you all so much for helping.

 

 

0 Kudos
Message 10 of 10
(5,944 Views)