FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i browse FP 2000 via serial port same use Ethernet port(RJ 45)?

I am a new user for  labview.I develope my program with FP 2000 but I have some problem
  1 How can i browse FP 2000 via serial port same use Ethernet port(RJ 45)? if it can Tell me please.
  2 If  I use GSM/GPRS modem via FP 2000 rs 232 port (I under stand how to send AT command) and leave it stand alone
     Can I dial modem and browse file in FP 2000 same as use Ethernetport?
Someone please help me.Thank you very much.
 Smiley Sad
0 Kudos
Message 1 of 13
(6,519 Views)
Hi woot_ku62@hotmail.com,
    unfortunately, to program and configure a FP ethernet module, you should use ethernet, it's the only way (...but it's always better to receive confirmations from NI experts...).

   You can, of course, embed an aplication to your FP 2000 module, using LabView Real-Time module.  In this case (that's my application) you can make your controller perform communication over seial port, but you cannot modify module configuration (for which you should use MAX, and generate a .iak file), and you cannot download application.  In my application, I have to make my cFP-2020 communicate with a remote PC over serial port, by the means of BB modems, so our work is similar!

    You may use some tricks, anyway.  For example, you can write a serial communication  protocol to download .ini files (script configuration files) to your FP 2000, and parse them to set some basic parameters.

    Anyway, I would be pleased to discover I'm wrong, because I need too to operate through serial ports, instead of ethernet, and I'm using very perverse tricks to meke my module work.....

    Hope it helps!

graziano
0 Kudos
Message 2 of 13
(6,504 Views)
Thank for your information.And I have some problem to ask you
1.In my project i use RJ-45 to embed .IAK file to FP 2000.How can I use serial.vi(in fieldpoint lib) to confrige port to communicate with PC via gsm/gprs modem and browse file in memmory  of FP 2000 (Use Internet Expoler HTTP/FTP)?...........In my PC I will dial gsm/gprs modem to communicate to FP 2000 and  use Internet Exp to view HTML FILE .....
                    (Now I can use RJ 45 to communicate with FP 2000 use Internet EX already.......):smileyhappy:
0 Kudos
Message 3 of 13
(6,494 Views)
Hi!

    First, I can say that your project involves many things, I cannot describe all features in the forum, and I'm not used with GPRS modems (my modems are base band serial modems...).

    Anyway, I would say that in your project you should proceed like this:
   
      1) Configure your FP 2000 module via MAX and ethernet connection;
  
      2) Download an embedded application to your module (build in LabView Real-Time)

      3) In your application, you should build a kind of serial port manager, and by the means of serial port you send/receive commands from PC.

    The commands from PC can include "Tell me the about the FP 2000 file system ", or "switch on line X", or anything you need.

   I think it would be difficult to use Internet exp, because you use IE with TCP/IP, and TCP/IP is over ethernet.

   I know that for Windows you can find some wrappers that make you "see" the serial port as an ethernet, but these wrapper do not exist under filed Point, and you shoul build one yourself!!!(and that's not easy).

    For example, to browse your files, you should build a VI that searches through your file system, and reports, via serial, the files present in a directory (it's an example....).

    About communication between GPRS modems and FP2000, I know nothing.  I suppose that these modems accept serial inputs, so you'll have to configure your serial port on FP 2000 with the correct baud rate, parity, and so on..... and you send your data to the modem.  The modem will transfer data in its way, no matter on how it does.

    To send data to your modem you shoud take a look to some Serial communication examples.  What I suggest you, first, is to connect the serial port of FP2000 to a PC, and test communication between PC and FP2000, without modems. Just direct cable connection!  If you're able to do this, insertion of modems is the next step, and should be quite easy.  If you're not able to make the PC receive strings of data from FP2000, over  RS232, adding modems is a further complication, and you won't come out of this mess!

   So, what I say, is just build, for now, a simple embedded application for FP2000, that, using RS232, sends data to a PC (you should see data sent with use of Hyper terminal).

    To build this application, use Instrument I/O --> VISA commands (VISA open, VISA write, and Property node should be enough, for now).

   Please, let me know if this helps......

    Have a nice (programming) day!

graziano
0 Kudos
Message 4 of 13
(6,488 Views)

THANK YOU VERY MUCH.

NOW

0 Kudos
Message 5 of 13
(6,475 Views)

THANK YOU VERY MUCH.

NOW I 

0 Kudos
Message 6 of 13
(6,474 Views)

THANK YOU  GRAZIANO.

Now I can use FP 2000 communicate with my GSM/GPRS modem already(send SMS ,Dial) and leave FP 2000 standalone without PC -----IT OK-----Smiley Very Happy

Can you tell or guide me about method to browse file on FP2000 by LabVIEW code on serial port ? I dont understand about it...

now i have idea to browse.....................

1.I use FP2000 communicat with modem and set modem to AUTO ANSWER.

2.I will dial modem on PC with WIN XP to FP 2000 and browse file by Internet EX.

How about this Idea? it possible?        and you have another idea?Smiley Tongue

 

0 Kudos
Message 7 of 13
(6,472 Views)
Hi!

   Unfortunatey, I've not developed such things....... I don't know about this technique, I think you're more experienced than me! So I suggest you to post another message to ask about it!

   As I told you, I use a protocol build by myself, and I don't need to browse FP filesystem, exept for some known files.....

   Anyway, it's interesting to read about what you've done, it's an idea for future developement!

   Bye, and good luck!

graziano
0 Kudos
Message 8 of 13
(6,467 Views)

THANKS GRAZIANO,

OK, I will attemp to build my application.

all of your reply are very good idea  for me.

If you have problem please ask me . 

Smiley HappySmiley HappySmiley HappySmiley HappySmiley Happy

0 Kudos
Message 9 of 13
(6,467 Views)
It's always good to learn together!!!!!!!!!

Have a nice programming day!

graziano
0 Kudos
Message 10 of 13
(6,452 Views)