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
Similar Messages
-
Runs DataSocket server in run time
Hi,
I have a vi and I want that when it is loaded, I want to automatically run DataSocket server without going to National Instruments->DataSocket->DataSocket Server. In other words, I want to run DataSocket server from my vi. Is it possible? How can I do it?
Thanks very much,
ToNi.When you build your application you have the option to create an installer which will install the run-time engine. In the installer option you can select DS support, which will install the server.
As mentioned, if you're using the first VI, you need to include the dynamically called VI in the build.
Try to take over the world! -
How come i know the ip of the mail server at run time
i'm developing a mail distribution server that can be used to send and receive the mails. now i would like to know that how come i know the ip of the host to which i want to send the e-mail. e.g. if the request comes in from the user and contains the address [email protected] or [email protected] then how come i know the ip address of mail server of yahoo or hotmail
pls help
its urgentdear manish,
i seriously believe that you do not need to know the ip address of the host server of the destination address on the mail.u just need to route your mails through the SMTP server for your organisation where ur going to use this server.
regards,
suraj berwal. -
Run-time error '429':Active X component can not create an object
Hi Folks,
I am using some VBA code to run logic in BPC for Excel. When i try to click on VBA button, It's giving the below error.However when i am trying to execute same from server it is working fine. Accessing from BPC client only we are facing this problem.
Code have no issues. Is there any specific thing need to mentioned in client when we use VBA programming? Basically we used the VBA program to create the id's in BPC for Excel. So that it will automatically created on fly. Testing was fine interms of working in Server.
" Run-time error '429':Active X component can not create an object ."Hi,
Are you trying to add a member into the dimension from excel? As you said that this has been already tested in the server and is working fine, I believe, you have taken care of everything.
Now, coming to the point, when you are adding a member in the membersheet, you need to process the dimension. This requires the admin rights. So, please check the task profile of the user ID, with which you are trying from your system. This user ID should be the primary admin.
Hope this helps.
Additionally, can you please elaborate on the steps on what you followed for adding a member from the excel directly? -
Can't install LabVIEW Run-Time Engine 6.1 on Windows Terminal Server
With my system admin, we tried to install the LabVIEW Run-Time Engine 6.1 on our Windows Terminal Server NT4. And we get an error all the time:
-install using the plugin
-install using LVRTE.exe
-install after rebooting the server
But I remember that we could install the Run-Time Engine 6.0 on another Windows Terminal Server NT4.
Is there any compatibility issues with the new Run-Time Engine 6.1 ??
Thanks for your help
CyrilleCyrille,
What is the error that you get when trying to install the run-time engine?
Are you installing it from the LabVIEW CD, or did you download it from the web site?
To further troubleshoot this problem, it would be best if you send us an email to [email protected] and send the above information.
Also, try running the installer from the command prompt window, and use the following syntax:
setup.exe/l*v
This will save the error log to the file you specify. Send us also this file to help us troubleshoot.
Thanks
Zvezdana S.
National Instruments -
LabVIEW Run Time Engine and ActiveX Automation Server
Hi,
I have a question related to LabVIEW Run Time Engine and ActiveX Automation Server:
We have a tool developed in LabVIEW and TestStand. End user interface is a LabVIEW GUI (it's an executable) which executes TestStand sequences. Some TestStand sequences call lower level LabVIEW VIs.
Everything works fine with LabVIEW installed, but I was wondering if I could run this tool on deployment machine with only LabVIEW run time engine installed. We are using LabVIEW 6.1 and with only the run time engine installed, I get the error message: "Unable to launch the 'LabVIEW.Application' ActiveX automation server ".
BTW, we are planning to upgrade the versions soon.
Is it possible to make things work only with the run time engine?
Thank you.Thanks for the response, Brian.
I did upgrade to LabVIEW 8.0 and TestStand 3.5. Everything works fine on the development computer where LabVIEW and TestStand is installed. On the target computer in the lab, I installed LV RTE 8.0 and TestStand 3.5, and now when a VI is called in a sequence file, I get the following:
RunState.PreviousStep.Result.Error.Code -18002
RunState.PreviousStep.Result.Error.Msg "LabVIEW: The VI is not executable"
So, the executable opens and works fine (which means that the LV RTE is installed properly), but when a sequence calls a low level VI, it does not make it through.
comments/suggestions are appreciated. Thanks. -
How to configure oracle 6i report server run time component with application server
we got oracle 6i report server for developing the web based reports for our undergoing product. we r succesed in developing the web based reports using oracle 6i report server.But we r facing problems while deploying the product with oracle reports at clients place,why because the client does not have the oracle 6i report server. To solve this problem we have to configure the oracle 6i report server run time component with application server at client side , but we are unable to configure this component(that is CGI handler).
You can run multiple instances of Reports Server in 6i.
In tnsnames.ora, for each server, have a different name and each listening to different port.
For example,
server1.world = (ADDRESS = (PROTOCOL = TCP)(Host = myhost.mydomain.com)(Port = 1949))
server2.world = (ADDRESS = (PROTOCOL = TCP)(Host = myhost.mydomain.com)(Port = 1950))
Also, if you want to know about Reports Server Clustering, you may refer to "Publishing Reports" document on OTN:
http://otn.oracle.com/docs/products/reports/pdf/A73173_01.pdf -
Run Time Error while Transferring data to Application server
Hello Abaper's,
I have generated a XML data using the FM : " SAP_CONVERT_TO_XML_FORMAT ".
While transferring the data to a File on Application Server using the statement
DATA : wa_xmltab TYPE truxs_xml_line,
it_xmltab TYPE truxs_xml_table.
OPEN DATASET FNAME FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc EQ 0.
LOOP AT it_xmltab INTO wa_xmltab.
TRANSFER wa_xmltab TO FNAME. <<<<<<<<<<<<<< Getting Error here
ENDLOOP.
ELSE.
MESSAGE e004(zmsg5) WITH 'File FNAME not opened'.
ENDIF.
CLOSE DATASET FNAME.
The Run Time Error i am Facing is
Short text
The current statement is only defined for character-type data objects.
Error analysis
For the statement
"TRANSFER f TO ..."
only character-type data objects are supported at the argument position
"f".
In this case. the operand "f" has the non-character-type "TRUXS_XML_LINE". The
current program is a Unicode program. In the Unicode context, the type
'X' or structures containing not only character-type components are
regarded as non-character-type.
Regards
jvHello Volker Binder ,
Thank you . it's now transferring the data to Application sercver. I forgot to try using Binay mode,
Thers is one more problem. There are 10 Records in that internal table that is being converted to XML format,
but the XML data is showing only first 4 records.... the XML data format for the remaining data is not seen.
Actual No. of Records in Internal table :
matnr matkl meins
0-BUY1 012 PC
0-BUY2 012 PC
1 EA
2 012 L
3 01 EA
12 EA
23 001 ST
24 015` EA
28 010 EA
29 015` AU
XML Format for the above 10 fields is :
<?xml version="1.0"?><TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">0-BUY1</MATNR><MATKL Datatype="C" Length="18">012</MATKL><MEINS Datatype="C" Length="6">PC
</MEINS>
</TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">0-BUY2</MATNR><MATKL Datatype="C" Length="18">012</MATKL><MEINS Datatype="C" Length="6">
PC </MEINS>
</TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">000000000000000001</MATNR><MEINS Datatype="C" Length="6">EA</MEINS>
</TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">000000000000000002</MATNR
This 4th record data in XML is also incomplete..
The above XML format is generated only for 4 records out of 10 Records.
Please let me know , how can i increase the Size / Memory of the Application server file to accomodate for the reamining Records
Regards
Jv -
Windows Server 2008 sp2 Task Scheduler missing next run time after restart
Hi,
I have the issue that there does not appear to be a fix for with a server 2008 sp2 (NOT R2) where after a restart all tasks are missing the next run time so I need to edit each task to add this time back in. I have tried the hotfix in KB 950035
but this when you run it is only for Vista and cannot be installed despite saying it's also for Server 2008.
For some reason also this is Task Scheduler version 1 not 2 which I thought came with windows since Vista so SP2 should have it.
Anyone got any ideas?
Thanks,Hi Evans,
Would you please let us know current situation of this issue?
As Dave mentioned, Windows Server 2008 Service Pack 2 include all the previously released updates for Windows
Server 2008.
Based on your description, I understand that all scheduled tasks still miss the next run time on your Windows
Server SP2 when the server restart. If anything I misunderstand, please don’t hesitate to let me know.
On current situation, please open Properties of one problematic scheduled task, navigate to History tab, then
check if find some relevant events or errors. Those may help us to go further analyze.
If any update, please feel free to let us know.
Hope this helps.
Best regards,
Justin Gu
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
I am trying to build a stand-alone application on a target pc for which I have built a LabVIEW server that TestStand can use as an adapter.
In order to do this, I searched this site and found the topic: "How do I build and Use the LabVIEW Operator Interface as a LabVIEW ActiveX Run-time server?" After following the procedure to the letter, I ran the testexec.exe file as instructed and loaded my sequence file. As soon as I try to "Single Pass" or "Test UUT" I get an error which says "source does not existLast UI message: Start Execution". This error appears when running the testexec.exe file on the target pc or the development pc.
I have found though, th
at if I open the Operator interface through the Start: Programs>National Instruments>TestStand>Operator Interfaces>LabVIEW then the sequence file runs without these errors.
Any ideas why this is happening?Hello Robroy,
The KB you mentioned explaines how to build the LV Operator Interface (OI). So, I assumed you built the LV OI and also configured the LV adapter to use the TestStandGUILVRTS server without problems.
The error you are getting may be due to missing VIs. In other words, the LabVIEW OI may not be finding all the VIs your sequence is calling.
In order to deploy sequences that call VIs, you need to first run Tools >> Assemble VIs for Runtime Distribution. This tool gets all the VIs your sequence needs and saves in a separate directory.
For more information, you may check the TestStand User Manual chapter 17, it describes how to distribute TestStand and sequences.
Regards,
Roberto Piacentini
Applications Engineer
National Inst
ruments
www.ni.com/ask -
OWB 9.2.0.2.8 Server Side Install Run Time Assistant Components
Hi all,
I have Oracle 9.2. on a Solaris/ Sun server.
I have installed OWB 9.2.0.2.8 on the client desktop running WinXP.
After installing the Design Repository I was installing the Run Time assistant when I had the INS0034 error, requiring that server side components be installed first. So after going back to the installer I used the "Install Server Side option" which actually installed software to my windows Oracle home ??? After that still had the INS0034 error.
My question is. Do I need to use the OWB for Solaris disk and access the Sun server console to install the server side components ? I'm confused as I already have the OWB disk for Windows which is where I would like to install the client.
So not sure where to from here.
Get Solaris version of OWB and install on Sun Server ? Or have I missed an obvious option with the Windows install disk ?
Any help would be appreciated ... Project is stalled at this point.
Regards
NickHi Nick,
We have a similar configuration on my project. You will need to use the OWB for solaris disk if you intend to use OWB to deploy any object or run any mappings. OWB will need to be installed on any Sun server that you will be deploying your warehouse to (not necessarily where the OWB design repository is).
Run the installation from the Sun server console and choose the "Install Sun Server Side option". Once installed, you will also need to run the Runtime Assistant from the server console. Select the option to install the Runtime Repository. This ensure that the Runtime Platform Service is running. Without that you'll have trouble running the Deployment Manager.
Check out sections 2.5 and 2.6 of the Installation and Configuration guide for more details.
Cheers
Dave -
Is it possible to tell the server to run a .cfm page at a set time?
hey all,
i'm trying to build an automatic email application that will
send out mail to the people on its list at a convenient time for
the server to avoid traffic. is it possible to somehow tell the
server to run the application page automatically at a set time? i'm
running in a cf6 linux environment.
thanks for your help!Go into your CF Administrator and click on the "Scheduled
Tasks" link. -
ORACLE Forms Run Time error FRM -92050 failed to connect to server
server name:
osfsun.oklaXXX:9000
Details:
Java Exception
Java.netNoRouteToHostException: operation timed out
at java.net.plainsocketImpl.doConnect(Compiled Code)
at java.net.plainsocketImpl.connectToAddress(plainsocketImpl:124)
There is more....
I have opened the port 9000 in my LAN firewall, I have checked Jinitiator control panel, I'm able to resolve web address but receive this web run time error,.anyhelp would be appreaciated.
thanksI resolved this issue. It was related to the firewall using port 9000/ The issue was not related to Oracle.
-
Teststand 4.1.1 PAWS Run-Time System ActiveX Server
Hello,
I downloaded Teststand 4.1.1 for evaluation. However, when I tried to run the example called "Manual Intervention Example.seq" or "ParameterPassingExample.seq" shows an error.
Both sequences indicates "PAWS Run-Time System ActiveX Server not installed."
Error: Error executing substep 'Execute TPS'.
An error occurred calling 'ExecuteTPS' in 'IExecuteTPS' of 'NI ATLAS StepType 1.0'
The TPS Server could not be created. A possible cause is that the PAWS Run-Time System ActiveX Server is not installed. Check your TYX PAWS installation and try again. [Error Code: -2147221164, User-defined error code.]
Where do I get that installation from?
Why wasn't it installed when I install the evaluation for Teststand 4.1.1?Hi,
Try here:
http://www.tyx.com/index.html
regards
Ray Farmer
Regards
Ray Farmer -
Setting Time Server Search Order in DSC Run-Time
Hello,
can somebody help me with explanation how can I set the Time Server Search Order in DSC 8.6 Run-Time System? I can set it in development environment, but how can I transfer this to the Run-Time machine?
I want to synchronise a system clock of the machine to another machine acting as the time server, running NI Time Syncronization service.
Is it better to use standard Windows XP sync routines instead of NI ?
Thanks a lot,
rompHi David,
after trying NI approach ( I've got some tips from support, you should edit the Registry ) I found it just don't work well, so I have disable it completely and move to Microsoft mechanisms for clock synchronising. Looks like NI still didn't work this out as it should....it's a shame aince this is very fundamental stuff.
romp
Maybe you are looking for
-
EJB 3.0 Session bean local interface NullPointerException
I am trying a very simple test of a Stateless EJB 3.0 bean called from a servlet. The bean has a local interface, annotated with @Local. The bean implements that interface and is annotated with @Stateless. I have a servlet with a variable of the loca
-
Wireless adapter Z-Com XG-703A doesn't work with WPA after reboot
Hello everybody, Arch doesn't load kernel module arc4 during boot with usb wireless adapter Z-Com XG-703A. So WPA doesn't work and It can connect to only opened access points. I found two work arounds but I don't know how to fix the issue completely.
-
Problem Creating PDF with Multiple Files in Pro. 7
I'm using Adobe Acrobat Professional 7 on a computer with Windows XP. The problem is that when I try to create a PDF with multiple files everything just suddenly stops. There are 75 files involved and when it gets to around 41 or so (don't know the e
-
I have many pages with old object tags embedding flash movies. every time i open thse pages in dw cs3, it wants to convert them and says it will create the 2 .js files ac_activex.js and ac_runactivecontent.js The runactive file does reside in the scr
-
Creating a multi-language website on Dreamweaver-cs4
Hi, What would be the best aproach to create a multi-language website ( max 10 html pages , not a portal ) on CS4. I had Joomla in my mind but I want to learn Dreamweaver way. Should create different folders for each additinonal language and copy th