Mobile module modbus I/O Server

Hi,
Is it possible to establish a communiccation with modbus protocol between the PDA (master) and the slave device via WIFI connection?
I like to do this with configuring the I/O Server, not with the modbus library.
Best regards,
Zdenko.

Hello,
I am sorry to give you a negative answer to your question.
I have LabVIEW Mobile module 2009 and DSC  and a PDA target does not support I/O Server.
I have also installed modbus library, but some functions and proprieties under library's vi s are not supported under mobile target.
Probabily you could develop very low level code for mobile to implement modbus server, but it's very complicated.
Regards,
Emil

Similar Messages

  • Dsc module modbus server handling uint8 variables

    Hello!
    I have a problem with handling Modbus uint8 variables in the dsc module . Unit8 Shared variables
    are available in labview but Modbus i/o server Unit8 variables are not:
    http://zone.ni.com/reference/en-XX/help/371618J-01/lvmve/dsc_modbus_using/
    In our controller we split some 16 bit modbus registers into two 8 bit variables to pack some more usefull data in there. 
    All of my shared variables are running nicely in the shared variable engine but I've no way of
    easily binding them to my Modbus i/o server uint8 variables easily.
    Any ideas?
    I like the auto-scaling logging and binding of the DSC module shared variables
    so I want to avoid some manual labview processes.
    I want to view all shared variables in my front ponel at run time. I have 300+ variables so I'm trying to avoiding manual one-off hacks.
    James

    jamesy777, 
    The reason Unit8 variables are not available in the Modbus I/O sever is the nature of the I/O server data types compatible with the registers. If you’re writing to two registers, you can just read those two separate registers as U16s in LabVIEW. Otherwise, if you’re writing to the upper and lower half of the register, you can split the register into its 8-bit halves using the Split Number function in LabVIEW.
    Split Number Function - http://zone.ni.com/reference/en-XX/help/371361L-01/glang/split_number/
    Regards, 
     

  • Modbus I/O Server at Run-time

    Hello everyone.
    I needed an software that communicates with a third part PLC (siemens) via Modbus (serial) protocol, and I'm getting some problems with stand-alone application.
    I did the following steps:
    1- Created a new project;
    2- Created a new library;
    3- Created a new I/O Modbus Server (serial master mode);
    4- Created a variables bounded with a holding register (UInt16) from the PLC.
    5- Put that variable on a loop (timed) just to get its value.
    The program also deploys the created library at begin of execution and undeploys it at the end (working).
    The (simple) project worked fine at my development machine (with LabVIEW 8.6 and Real-Time Module installed), so I created a stand-alone application and an installer of it.
    Again, the installed software worked at my PC.
    But, here comes the problem, when I try to run my program at another PC that do not have LabVIEW it doesn't work.
    I have already installed the LV Runtime 8.6, tried to include it at my own installer (at Additional Installers tab - included Distributed System Manager and NI Variable Engine too), and still didn't work!
    I also tried to install the software in another PC, that have LabVIEW 8.6 but not the RT module, and it didn't work as well.
    The library and shared variable seems to be correctly deployed on SVE, so I think the error is related with the Modbus I/O Server.
    So, what can I do to a software using Modbus I/O Server run in a machine without RT development?
    There are some screenshots that I took while running the software at the both (develop. and client) machines above.
    Regards,
    Leandro Rondon
    - Sensoft Indústria e Automação Ltda.
    - Work phone: +55 16 3413-5489
    - Cell phone: +55 16 8827-4025 
    - [email protected] 

    Forgot the images:
     1 ) running the VI at development machine - labview 8.6 with RT module
    2) running the installed software at development machine
    3) distributed system manager from target machine before execution
    4) distr. system manager and the software error

  • Multiple errors with DSC modules modbus master and slave

    Hi,
    I've searched quite a lot of posts but haven't found solution for my problem. I'm playing with LabVIEW DSC module and it's modbus master and slave functionalities. Even the LabVIEWs own modbus examples (Modbus Simulator and Fundamentals) seem to work randomly or not at all: When checking the Variable Manager utility Modbus Simulator (i.e. modbus slave/server) seems to deploy variables correctly with good quality but Modbus Fundamentals (i.e. modbus master/client) most often shows unknown value or bad quality for all the variables. When running the VIs I get 'Error -1950679035 Unable to locate variable in the Shared Variable Engine' and sometimes some other errors too. If the Modbus Simulator (slave/server) is expected to work fine I guess I should get two slaves communicating, but this isn't happening either. So maybe Modbus Simulator example isn't working either.
    I've tried undeploying and deploying the libraries, stopping and starting the SVE, booting PC, reinstalling DSC module, and setting firewall and antivirus software off. This problem is going on with two different computers, both of which have recently installed LabVIEW 2011, first PC with Win XP and second PC with Win 7. No other OPC servers should be installed to these computers. And what is really interesting, the problem seems to have nothing to do with my network since Simulator and Fundamentals examples are not working even if the network cable is unplugged!
    Any suggestions? Replies are highly appreciated!

    V8 has the same feature, but the words are different.
    The Generator typically uses the Driver time base, and the Gl. Var Write is writing once per block.
    So, to see all values, you must have a block size of one.
    I set up the Driver timebase to 10 Hz, block size of 1. The Generator and the Read Variable default to the Driver timebase.
    The Generator is making a 2 Hz Rectangle waveform. YOu can see that it's shifted, but otherwise intact.
    - cj
    Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.

  • Internal Error 2738 - Can't install Mobile Module 8.6

    Hello,
    i have installed the LabVIEW 8.6.1 in my notebook.
    And i have tried to install the Mobile module 8.6, but i get the error all the time (error 2738).
    i have tried to solve the problem by the following link, but the error still appears.
    http://forums.ni.com/ni/board/message?board.id=170&message.id=357697&requireLogin=False
    i use the windows 7 to install LabVIEW program. Is the mobile module not support the win7?
    i hope someone have a solution for this problem... i really do't want to reinstall my system to vistal or xp >_<
    Bestregards,
    Jaron

    Support for Windows 7 is not available yet. The only OS' that are supported are Windows Vista (32- and 64-bit)/XP/2000.
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Projet LabVIEW RT - Logiciel Modbus I / O Server - Labview 7.1

    Bonjour,
    Je souhaite savoir s'il est possible de mettre en place un projet LabVIEW RT sur ma cible (FP2000 & Labview 7.1) et d'installer le logiciel   "Modbus I / O Server" afin de transformer ma cible en esclave Modbus. La cible recevra des requêtes Modbus FTP d'un modem/GPRS (Ewon) pour gérer des alertes et envoyer des SMS.
    Est-il possible avec la libraire nimodbus121 d'enregistrer des variables issues du programme sur le FP2000 afin que le modem puisse les lire puis gérer les alarmes et une page internet ?
    Dans la doc Introduction to MODBUS j'ai lu que "L'ID  est généralement utilisée pour traiter l'esclave MODBUS. Lorsque vous utilisez MODBUS TCP, l'adresse de l'esclave est son adresse IP et l'ID dans l'en-tête MBAP n'est pas utilisé."
    Le Modem à besoin de l'ID du FP2000 (entre 1 et 255) et je ne sais pas ou la trouver ?
    Merci

    Bonjour
    en Labivew 7.1 RT, le plus simple est d'utiliser la bibiothèque NI-ModBus disponible sur le site NI Ele est justement écrite en LV7.1.
    Par contre attention, cette bibiothèque n'est pas optimisé RT.
    Elle ne limite pas le nombre de connexion et lance des thread parallèle.
    Cela devrait fonctionné, mais il peut être nécéssaire de limiter le nombre de connexion en revoyant le paralléllisme.
    Bonne journée
    Ingénieur d'Application / Développeur LabVIEW Certifié (CLD)
    Application Engineer / LabVIEW Certified Developer (CLD)

  • Can I write to Modbus I/O Server addresses without creating bound variables?

    Hi all,
    I'm wondering if it's possible to use the Modbus I/O Server without explicitly creating bound variables?
    If I write a value to the bound variable at "ni.var.psp://My Computer/Slave/300001", the master can see the value.
    The variable properties paeg says that the variable is bound to "My Computer\Slave.lvlib\ModbusSlave1\300001"
    I deleted the bound variable and tried a few different ways to write directly to the I/O Server, but all of them gave me Error 0x8BBB0005. I tried the following:
    ni.var.psp://My Computer/Slave/300001
    ni.var.psp://My Computer/Slave/ModbusSlave1/300001
    ni.var.psp://My Computer/Slave.lvlib/ModbusSlave1/300001
    ni.var.psp://My Computer/Slave.lvlib/ModbusSlave1/300001
    I also tried replacing "My Computer" with "localhost" above. No luck.
    Is there anything I've missed? I'm asking because CPU usage is very high, and I thought I might be able to reduce that a bit by removing the 300 bound variables in the system.
    Solved!
    Go to Solution.

    You can use DataSocket with a path like psp:\\localhost\Slave\ModbusSlave1.400001 for read and write access.
    Check out the example VI "Monitor OPC Items with DataSocket.vi" in the LabVIEW examples.

  • Deploy Modbus I/O server in multiple library.

    I'm using Labview 2009 with DSC. I learn about I/O server with network shared variable by experimenting with Modbus Fundamental project and Modbus Simulator project (LV built in examples). I run both projects in one computer, and the result is OK.
    Then I try to make a little modification by adding another library and create modbus I/O server with some bound variables on Modbus Simulator project and Modbus Fundamental project. These new libraries and variables are match in both project, with properties same as original libraries, except different modbus address. I run the project, and the result is always "communication failure" on the new variables in Modbus Fundamental. I have try to deploy and undeploy and also restart the computer, and the result is same.
    I try again with removing original library on both Fundamental and Simulator project, leaves only the new library i've added, the result is OK. This indicate that no problem with new library. Why if both libraries exist the "communication failure" always occurs.
    Thanks

    Hi Jareds,
    Thank you for your response.
    I think it would be clearer if you open my project file as attached. There are two project folders and screenshoot of the error message.
    Yes, of course i open and run them simultanously since this experiment is to demonstrate modbus communication (master and slave).
    As i said before,  actually i just made little modification on Labview's example project by add one library with modbus I/O and some variables.
    Imagine that I want to communicate with multiple modbus devices (slave), in this project there are two modbus slave, ie. the first with address 1 (original as Labview's example) and the second with address 5 (new).
    Hope you can understand what i mean.
    Thanks
    Attachments:
    Modbus IO in Multiple Libraries.zip ‏122 KB

  • Modbus I/O server & Shared Variable Engine

    小弟做專題用到Labview,想請教一個問題,目前是用labview對智慧電表讀取資料
    主要用modbus I/O server(TCP/IP模式)和shared variable engine
    但是網路上大多數資料是教學如何建立I/O server和設定shared variable
    小弟想知道背後理論是什麼?
    例如:labview如何對modbus TCP/IP的封包進行處理,並取出所要資料。
    謝謝各位指教

    建議使用 google
    關鍵字 = labview shared variable concept

  • How can call a function module(RFC)in one server to another sever in my rep

    How can call a function module(RFC)in one server to another sever in my report program.
    What i am know whenever rfc enabled immediately radio button checks then only it will come.
    please justify.

    Syntax
    CALL FUNCTION func DESTINATION dest [EXPORTING p1 = a1 p2 = a2 ...]
    [IMPORTING p1 = a1 p2 = a2 ...]
    [CHANGING p1 = a1 p2 = a2 ...]
    [TABLES t1 = itab1 t2 = itab2 ...]
    [EXCEPTIONS [exc1 = n1 exc2 = n2 ...]
    [system_failure = ns [MESSAGE smess]]
    [communication_failure = nc [MESSAGE cmess]]
    [OTHERS = n_others]].
    http://help.sap.com/saphelp_47x200/helpdata/en/22/042537488911d189490000e829fbbd/frameset.htm

  • How can i make iphone mobile website,  database in Sql Server 2005 ?

    how can i make iphone mobile website,  database in Sql Server 2005 ?
    Thanks & Regards
    Jamshed Ali
    Email id: [email protected]

    You need to be a little clearer in what you're asking.
    You can't make any web site in SQL Server - it's a database engine, not a website tool.
    What you can do is create web sites that pull data from a back-end SQL Server, but the SQL server doesn't handle the client connection at all (that's handled by a web server such as Apache, IIS, or similar).
    There are many ways to build such a site including .NET, PHP, Perl and more (although I don't know all the options for Windows servers because they're not as common outside of corporate/enterprise networks).
    In either case, given your choice of development language (HTML, plus one of the PHP/Perl/.NET/etc. options), plus your database (SQL Server) plus your web server (IIS, Apache, etc.) you can make any web site you like (or, at least, you're capable of developing).
    If you want to opimize that web site for iPhones then there are many references on how mobile browsing differs from the desktop. I'd recommend this book as a reference (and, yes, I understand the irony of linking to a paperback book for web design guidance ). Googling mobile web design (or iPhone web design) might yield more results.

  • Unflatten From String Not Functioning in Mobile Module 2011

    Mobile Module does not get updated since version 2011. I am not sure my question will be solved. 
    I have been using Simple Messaging Reference Library (STM) for a couple of years. I use them in my Mobile Module code too. It has been working fine until lately I updated to the latest version of STM.
    I noticed that 'Read Message (TCP).vi' was not functioning properly in the Mobile Module code. After a long debugging, I found the source of the problem. 'Unflattern From String.vi' does not work in Mobile Module any more. I did a test as shown above. 
    My questions are
    1). 'Unflattern From String' was changed so it is not supported in Mobile Module 2011?
    2) Why the same code worked before, but not now?
    I use LabVIEW 2011 and Mobile Module 2011. Thanks. 

    MengHuiHanTang wrote:
    Mobile Module does not get updated since version 2011. I am not sure my question will be solved. 
    I have been using Simple Messaging Reference Library (STM) for a couple of years. I use them in my Mobile Module code too. It has been working fine until lately I updated to the latest version of STM.
    I noticed that 'Read Message (TCP).vi' was not functioning properly in the Mobile Module code. After a long debugging, I found the source of the problem. 'Unflattern From String.vi' does not work in Mobile Module any more. I did a test as shown above. 
    My questions are
    1). 'Unflattern From String' was changed so it is not supported in Mobile Module 2011?
    2) Why the same code worked before, but not now?
    I use LabVIEW 2011 and Mobile Module 2011. Thanks. 
    Is that the real code or just a mockup to demonstrate the issue?  I'm asking because the code is set up to run once and then wait until the stop button is pressed.  Then the VI will complete and exit.  Is the the desired behavior?
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Cannot load d:\oracle\apache\apache\apache\modules\orajipa8i.dll into serve

    Dear All,
    Getting following error while trying to start http server service.
    "Syntax error on line 1 of d:\oracle\oracle\apache\apache\conf\mod_ose.conf
    Cannot load d:\oracle\apache\apache\apache\modules\orajipa8i.dll into server"
    Pls tell me the work arounds.
    Thanks,
    Sathis.

    I am getting the same error message on my side.
    Were you able to get around the problem? Thank you.

  • HTC PDA deployment problem using Mobile Module

    Hi all,
    I am trying to connect my HTC PDA Kaiser (TyTN II) to a customized device using the miniUSB port. This PDA runs Windows Mobile 6, I am using Labview 8.6 (and I am using the Mobile Module - former PDA module) on Windows Vista.
    However, I am having a couple of issues trying to do this. Initially I am trying to discover, if the application deployed on the PDA using Mobile Module sees the miniUSB port as a virtual COM port (or serial). This would make my job much easier.
    Nevertheless, way before that,  I simply cannot deploy my application on the PDA because there are two files missing during the building process(attached file): windows.h and commctrl.lib, according to the message error.   
    I was trying to follow the simple tutorial on http://www.ni.com/pdf/manuals/371296d.pdf but the deployment process stops when I get this message. I installed all the necessary files (Virtual PC 2007, Windows Mobile Device Center and I think LV does the rest) and of course the mobile module. I read about the installation known issues, uninstalling Visual Studio 2008, reinstalling Labview like some of the threads suggested (http://forums.ni.com/ni/board/message?board.id=170&requireLogin=False&thread.id=132656) and still didn't work. I wouldn't go that far to reinstall Windows, would I?
    I know that it might be something related to a wrong path according to the attached log error file during the C generation code, however I am still not sure what's the path supposed to be!
    Does anyone could give any suggestions?
    Kind regards,
    Edgar Charry
    Attachments:
    Error Msg.jpg ‏166 KB
    BuildReport.txt ‏1 KB

    Hi Anna,
    Thanks for the reply. Yes, it is Windows Vista 32-bit Home.
    Certainly the reason is that the builder looks after these two files, that simply doesn't exist. I know it, because I looked for them, and found on the PocketPC2003 - smartphone folder (..\Labview 8.6\PDA\Utilities\VC\Smartdevices\SDK\PocketPC2003\include and lib). And the only one I can at  least emulate is indeed the PocketPC2003 SmartPhone!
    So, if your emulator for the Windows Mobile 6 platform works (emulates any VI), could you please give me the correct path of the Windows Mobile 6 and also the files? Here I have: ..\Labview 8.6\PDA\Utilities\VC\Windows Mobile 6 SDK\PocketPC\Deviceemulation\Pocket_PC (and a couple of others, which are pretty much empty - no header files or libraries there, just the PNG files of the figures of the emulators). That's it.
    I tried copying the lib and the include folders there, but also didn't work....
    Thanks Anna,
    Edgar Charry

  • Call precompile​dDll in mobile module

    Hi,
    I need to call the precompiled dll in my mobile project.
    I got struck while building the application its gives a "error missing vi or c file"
    I have no idea what to do.since i am new to this.
    what method i need to follow to call the precompiled dll and make my mobile app working?
    Pls.help me on this
    Regards,
    Vidura.

    magicofavalon1
    Are you saying that the problem is that you are calling a library from a VI ona PC (which works fine) but when you call the same library from a mobile moduleVI, you get the build error?
    Just as you are saying, I call the library (the stubbed library i madefor Win32) from a VI on the PC and it works fine
    when i do it from a mobile module VI, it doesn’t even build (always using thestubbed library) because when using the ARM library i get an error thatthe library wasn’t made for Windows, which I already know because i made thelibrary for an ARM processor and already tested it with a C++ program made inVisual Studio.
    That’s why I ended making a stub dll but with no luck so far.
    magicofavalon1
    It may also be that you need to reference the location of the libraryand manually copy it to the LabVIEW mobile device before you build it. 
    i already have the library in the mobile device, but I’m using in thecall library node the location to the stub dll in my PC. Is it really necessaryto build the application to have the mobile device connected to the PC becausei haven’t had it like the last 100 times i tried to build it? Anyways Thanksfor your help, I’ll try this tomorrow at first hour (at my job), and maybe youcan understand me better with the explanation i gave you right now.

Maybe you are looking for

  • How can I get reimbursed for an unauthorized account charge by Fruit Ninja HD Free through In App Purchase?

    Hi There, I was not able to report my problem through the link given on the receipt. Therefore, I am reporting my problem here hoping that someone will care about it: On the 2nd of June 2012, I have downloaded some free game apps in the Apple Store u

  • Problem in Outbound Idoc Scenario with change pointers

    Hi All, I have a requirement where i have to create an outbound scenario, whenever i create or change in transaction PAL1 (Create Sales Representative), an idoc should be triggered. i have created - ZBasic idoc type - ZSegments And have assigned the

  • Hannibal - Season 1 Episode 4 (OEuf), where is it?

    I've paid a Season Pass for Hannibal season 1. I've paid in advance for all 13 episodes. Why am I not getting the proper episode 4, OEuf? I understant that TV networks are not airing the episode (on TV or online) in wake of the Boston Marathon, but i

  • Multiple Contacts in Facetime

    I seem to have 3 duplicates of every contact in Factime.  My Addy book looks corrrect as well as my iPad contacts.  Is there a way to make Facetime look just at the cloud for one Contacts list and not all devices ?  If that is what is going on ???

  • Elements 11 not seeing/downloading RAW files.  HELP!!!

    Hello, Just got Elements 11 and when I put the card into my pc the download box pops up and it reads the card, but it does not see the raw files, only the jpg files. If I use windows explorer to view the card it sees the raw files fine. I can open ra