FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

send a message to a cFP2020

I am using a cFP to collect some data and then store it on the compact flash as a spreadsheet. I have the program embedded and then sending the data to a seperate computer for viewing via UDP and a crossover cable. I want to be able to send a comment to the embedded VI that will then be put into the spreedsheet file. I am trying to accomplish this by utilizing TCP/IP but i get the error:
"Error 1:
LabView: an input parameter is invaild 
--
NI-488: command requires GPIB controller to be controller in charge."
 
I don't know what this means or how to fix it.
Courtney
0 Kudos
Message 1 of 5
(3,732 Views)
Hi Courtney,

It's hard to find the error without seeing the code, but "Input parameter not valid" can mean that the connection ID you give to the TCP VI is not correct, to check this, while running your VI, place a probe just before the VI that gves you the error one, if this reference equals zero you've out found the error. Then try to understand why this connection ID is not correct.
If this is not the issue then send your VI so that I can see how you do it.



We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 2 of 5
(3,722 Views)

I have done what you suggested and I have found that something is wrong with my connection ID because I did get a 0. I am not sure how to fix it though. I have attached my code.

Courtney

0 Kudos
Message 3 of 5
(3,713 Views)
Well... It's hard to help you without having the hard and soft... but I happened to have that kind of problem in the past using FieldPoint.
I'm not sure where the issue comes from, but the null refnum comes from the "TCP open connection.vi" (top left on your diagram), I might be something silly.
To check that your cFP is runing correctly, close LabVIEW, and perform some measure form the MAX, check the IP adress. If it works then close the MAX and try with LabVIEW.
If it works with the MAX and not with LabVIEW, you'll be sure that one of your input parameters in wrong (ip adress or remote port)...

Hope you'll find the solution... Smiley Wink


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 4 of 5
(3,698 Views)
PS : If it doesn't work from the MAX, make sure you applied the configuration to the module (this has to be done from the MAX once you've set your module and channels)

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 5 of 5
(3,697 Views)