FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

file transfere and popup-alarm

I develope a humidity-measurement at about 80 measuring points. I´m using a FP-2000 with four FP-AI-112 and one FP-DIO-550, a FP-1601 with two FP-AI-112. I wrote a dataloogger-program based on „fp-spreadsheet-logger“ which saves the measured values in a text file. The program runs on the FP-2000 without a host-pc. The FP-2000 and FP-1601 are connected to the companie intranet via ethernet.

The files should now be saved on a server or a local-pc and deleted on the FP-2000, when the memory of the FP-2000 is full. How can I do this file-transfer? I already tried datasocket but it didn´t work.

If the measured values exceed specified limits a few minutes, the security office (only installed the run-time-engine) should get a pop-up-message and an accustical-signal on a pc. How can I realize this?

I use LabView 7.1 and LabView-RT 7.1.

Thank you for your help in advance.

Rainer
0 Kudos
Message 1 of 11
(5,137 Views)
hello rainer,

to do a programmatic file transfer you could use FTP:
Can I Use FTP with the LabVIEW RT Engine on My RT PXI Controller?

is it possible to have a LV program running on the machine, which should receive an alarmmessage ?

regards,
robert h
National Instruments
0 Kudos
Message 2 of 11
(5,116 Views)
I tried to use FTP but I don´t have the Internet Developers Toolkit.
Is there a possibility only with LabView 7.1, LabView-RT 7.1 and FieldPoint 4.1.
0 Kudos
Message 3 of 11
(5,115 Views)
hello rainer,

i found an example VI to do ftp with datasocket.
i am afraid, if that doesn't work, the internet toolkit is the only way to do filetransfer from the RT system.

regards,

robert h
0 Kudos
Message 4 of 11
(5,110 Views)
Thank you for your help.

Has anyone an idea how to realize the extern pop-up-alarms on the pc in the security office?
This is the more important task I have to implement.
I would also be greatful about other solutions for the file-transfere-problem.

regards
Rainer
0 Kudos
Message 5 of 11
(5,100 Views)
hello rainer,

is it possible to have a labview application running on the machine, which is the server?

in this case you could pick an unused port and create a listener on it, so that you can program a labview popup.

regards,

robert h
0 Kudos
Message 6 of 11
(5,091 Views)
Hello Robert,

on the pc at the security office is only the runtime-engine of LabView installed.
It is possible to run an LabView-exe on it.

The other problem: We decided to buy the internet developers toolkit to transfere the files on a server with ftp.
0 Kudos
Message 7 of 11
(5,089 Views)
It is possible to run an exe-application on the pc of the security-office. How can I realize that the application on the FP-2000 invokes the one running on the pc? How can the pc-application display an alarm when called by the FP-2000?

Thank you in advance
Rainer
0 Kudos
Message 8 of 11
(5,071 Views)
hello rainer,

you could use a VI, which creates an TCP-listener on the server system on a free port. the FP-system sends the alarm message on this port to the target system. there a popup is generated and the program switches back to listen again.

the attached VI does this in basic functionality. additionally it hides it's window, so, that it isn't seen in the taskbar.

you must fit the error handling to your needs.

regards,

robert h
0 Kudos
Message 9 of 11
(5,068 Views)
I have one more question:
How can the FP-2000 send an alarm message to this port?
I have 76 different messages, one for every measured point.
I already created an local alarm: when a measured value exeedes the maximum limit the value to write on a FP-DIO-550 is true. Can I use this to send a message to the port?

By the way: I´m a beginner in LabView (for three month), therewith don´t be surprised about my questions.

This is my Application:
0 Kudos
Message 10 of 11
(5,065 Views)