01-18-2012 01:26 AM
Error occurred at close file in "Program Name Here.VI"
Possible Reason(s):
LabVIEW: An input parameter is invalid.
---
NI-488: Command requires GPIB controller to be in charge.
Does anyone have any clue as to what this message is trying to tell me?
01-18-2012 01:40 AM
Its trying to say that an input parameter is invalid, ignore the text after that.
Post your code please, cant find Program Name Here.VI in the previous vi you posted.
01-18-2012 01:44 AM
here you have i am using labview 2009!!
01-18-2012 02:15 AM
I still cant find that vi. I am possibly missing a toolkit or something.
01-18-2012 02:41 AM
apart from that have you got an easy example of tcp ip?
01-18-2012 03:10 AM
I am guessing you have tried the examples that ship with LabVIEW?
The following links may be of help.
Also, a search yields a lot of results: http://search.ni.com/nisearch/app/main/p/bot/no/ap/global/lang/en/pg/1/ps/30/q/client%20server%20tcp...
Hope this helps.
01-18-2012 05:44 AM
u have changed the program and i have insert the tcp ipp protocol..can you watch it and say me why don not work good, i have two problems, can yu help me??
1-- no memor to work, says in the screen like an error
2- i can se the array i have sent to the client
01-19-2012 05:33 AM
There are a couple of problems with your attempt, but you're moving in the right direction. 🙂
The producer (servidor) generates ALOT of messages, you'd do well to slow it down with a wait. (e.g. 1000ms)
The Client expects 2 parts of a message, [Message length], and [Message]. You never generate or send a message length, only the [Message].
The sender-loop has a 0 ms timeout, and you only send once it timeouts, which it wont do due to #1. (That's probably the memory issue)
I'd recommend a longer timeout, if any (-1 will only execute if there's a message, else it'll wait) and always send with message recieved.´
/Y
01-19-2012 05:37 AM - edited 01-19-2012 05:45 AM
Run the code in Highlight mode and you'll see where the problem starts in a better way.
/Y
01-19-2012 05:37 AM
i change something whats your opinion i have connection problem i expect you can resolve it...
thanks