<?xml version="1.0"?>
<rss version="2.0"><channel><title>Remote Control, Monitoring and the Internet Latest Topics</title><link>https://lavag.org/forum/15-remote-control-monitoring-and-the-internet/</link><description>Remote Control, Monitoring and the Internet Latest Topics</description><language>en</language><item><title>Serial Communication Question, Please</title><link>https://lavag.org/topic/59016-serial-communication-question-please/</link><description><![CDATA[<p>
	Decades too late, I am just learning RS-232 communication and the only resource that has a Com Port library is LabVIEW.  I am having problems understanding how I should send the data and really could use some pointers...
</p>

<p>
	I have a Ham radio which I would like to communicate with through the computer.  It is as Plain Jane as you can get:
</p>

<ul>
	<li>
		4800 Baud
	</li>
	<li>
		1 Start Bit
	</li>
	<li>
		8 Data Bits
	</li>
	<li>
		2 Stop Bits
	</li>
	<li>
		No Parity
	</li>
	<li>
		No Flow Control
	</li>
</ul>

<p>
	The radio expects 5 bytes - the first four are parameters either in BCD or Hex and a fifth Command code in Hex.  Any of the four Parameter bytes not needed are padded to provide 5 bytes, which the radio expects.
</p>

<p>
	There are two commands I would like to send - one requires only the Hex command (and padded Parameter bytes); the other BCD Parameters.  Walk before I run...
</p>

<p>
	1) The easiest is transferring the VFO contents from VFO-A to VFO-B.  The Command is<em> </em><strong>85</strong> (Hex) with the four Parameter bytes padded (I tried zeros).  I had a friend create a simple routine in C++ and QT which does this nicely - so the radio works.  While I cannot see inside his exe, I presume the 5 bytes are <strong>00 00 00 00 85</strong>.  
</p>

<p>
	2) The other command is to change VFO-A to the frequency 14.250.00 MHz.  The parameters contained the frequency in BCD Packed Decimal) and the Command <strong>0A</strong> (Hex) to complete the five bytes.  The five bytes are formatted as such:
</p>

<p>
	Byte 1:  <strong>00</strong>
</p>

<p>
	Byte 2:  <strong>50</strong>
</p>

<p>
	Byte 3: <strong>42</strong>
</p>

<p>
	Byte 4:  <strong>01</strong>
</p>

<p>
	Byte 5:  <strong>0A</strong>
</p>

<p>
	Per the radio manufacturer, sent in this order will change the frequency.  But no matter what I try, I cannot even perform the simple task of copying VFO-A to B.  I have tried arrays writing within a loop, sending a string, typecasting, flattening - all examples I found online.  I don't know how LabVIEW handles data through VISA Write.  Worse, the radio manufacturer gives a BASIC example of command 2 (changing frequency) as:
</p>

<p>
	<strong>Print #2</strong>
</p>

<p>
	<strong>CHR$(&amp;H00);CHR$H50);CHR$(&amp;H42);CHR$(&amp;H01);CHR$(&amp;HA)</strong>
</p>

<p>
	I recognize this BASIC syntax as converting Hex into String and sending them off to the Port, but cannot convert this in LabVIEW.
</p>

<p>
	Yes, I use VISA Configure Port matching what the radio expects.  I think my problem is what I am feed VISA Write - I am hopelessly lost here.  I am not even sure 85H is 85 when sent as a string.  Are the 5 bytes converted to an array and sent as one string or sent in 5 iterations (if the latter, do I convert a single U8 from a byte array to a string?  If there is a conversion, what is it?
</p>

<p>
	Thanks for helping the dinosaur.
</p>

<p>
	John
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">59016</guid><pubDate>Thu, 05 Jun 2025 20:08:44 +0000</pubDate></item><item><title>Does it make sense to use REDIS instead of shared variables</title><link>https://lavag.org/topic/23160-does-it-make-sense-to-use-redis-instead-of-shared-variables/</link><description><![CDATA[<p>
	I feel like REDIS accomplishes most of the goals that shared variables attempt to cover (minus some UI sugar) in a nice cross platform way. Does anyone have an opinion on "in memory" key-value stores that are accessible over a network?
</p>
]]></description><guid isPermaLink="false">23160</guid><pubDate>Fri, 28 Apr 2023 18:28:30 +0000</pubDate></item><item><title>Is it possible to have a LV Webservice web resource with a variable in the middle of the URL?</title><link>https://lavag.org/topic/39415-is-it-possible-to-have-a-lv-webservice-web-resource-with-a-variable-in-the-middle-of-the-url/</link><description><![CDATA[<p>
	Specifically - I am looking at emulating an existing REST api that is in the style:
</p>

<p>
	 
</p>

<p>
	/command1/command2/&lt;variable&gt;/command3-related-to-variable
</p>

<p>
	one example where this occurs is with network devices port or VLAN ids  (eg:   &lt;url&gt;/port/3/speed    )
</p>

<p>
	Obviously if it is my REST api,  I could just do /port/speed and have a variable passed for the port number  (eg:   /port/speed?port=3 ) -- but I don't get to define everyone's API... 
</p>

<p>
	In my case, I am trying to emulate such behavior, so I need to setup a web resource that (ideally) would behave identically to the API,  hence  /port/3/speed  etc   is desired.  But I see no obvious way to do so in <abbr title="LabVIEW"><abbr title="LabVIEW">LV</abbr></abbr> (2024 SP3)
</p>
]]></description><guid isPermaLink="false">39415</guid><pubDate>Wed, 28 Aug 2024 00:50:43 +0000</pubDate></item><item><title>What communication protocol is popular in bio automation system?</title><link>https://lavag.org/topic/23682-what-communication-protocol-is-popular-in-bio-automation-system/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I used to work with oil&amp;gas industry which use OPC or modbus, then I work with agriculture vehicle which use CAN. I don't really know what they use to communicate between systems, instrument in bio automation manufacture or lab environment. Could you please share some information with me?
</p>

<p>
	Thank you in advance!
</p>
]]></description><guid isPermaLink="false">23682</guid><pubDate>Tue, 19 Dec 2023 15:22:51 +0000</pubDate></item><item><title>Turn your front panel into an interactive HTML5 site</title><link>https://lavag.org/topic/19236-turn-your-front-panel-into-an-interactive-html5-site/</link><description><![CDATA[<p>This is a weekend project (ok, several weekends now) I've been meaning to share for a while. It's a proof of concept which I'd like to get some feedback on before I invest more time.</p>
<p>The idea is to provide a toolkit that uses LabVIEW webservices to serve an interactive HTML5 representation of any application's front panel(s) as an easy way to monitor and control the application (over the internet) without the need for heavy applications or runtime engines. Just a browser. And because not everyone is a also web-developer, the work required to create that website should be done entirely by the toolkit. In my solution it's as easy as dropping a single vi on the block diagram, that registers the VI with the FrontPanelManager which takes care of all the data exchange between the website and the front panel.</p>
<p>Here's a screenshot of an example front panel showing all supported elements and its HTML version on chrome:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_09_2015/post-28303-0-12285800-1442874703.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_09_2015/post-28303-0-12285800-1442874703.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=10663" class="ipsImage ipsImage_thumbnailed" alt="post-28303-0-12285800-1442874703.png"></a></p>
<p>Obviously, there are some cosmetic differences that can be fixed later.</p>
<p>Controls on both LabVIEW front panel and HTML site act as controls and are synchronised across the two. By default, the website queries the front panel every 250ms for new data. The refresh rate can be changed with the cog button in the bottom right corner.</p>
<p> </p>
<p>To run it</p>
<ul><li>open the project</li>
<li>start the WebService<br><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_09_2015/post-28303-0-47627400-1443059435.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_09_2015/post-28303-0-47627400-1443059435.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=10673" class="ipsImage ipsImage_thumbnailed" alt="post-28303-0-47627400-1443059435.png"></a>
</li>
<li>Get the URL of Main.html and point your browser to it<br><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_09_2015/post-28303-0-13634700-1443059578.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_09_2015/post-28303-0-13634700-1443059578.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=10674" class="ipsImage ipsImage_thumbnailed" alt="post-28303-0-13634700-1443059578.png"></a>
</li>
<li>start "To Publish/Main.vi" and watch the data appear in the browser</li>
</ul><p>As I said this is a proof on concept and it's a long away from being a toolkit. I'm working on functions that appear in the Tools menu to automatically add and configure the webservice and dependencies and many other things.</p>
<p> </p>
<p>[2014]<a href="https://lavag.org/applications/core/interface/file/attachment.php?id=10664" data-fileid="10664" rel="">FPPublisher.zip</a></p>
]]></description><guid isPermaLink="false">19236</guid><pubDate>Mon, 21 Sep 2015 23:00:29 +0000</pubDate></item><item><title>Initialize raspberry pi with LINX</title><link>https://lavag.org/topic/22951-initialize-raspberry-pi-with-linx/</link><description><![CDATA[<p>
	Hello everyone,
</p>

<p>
	I have a development PC with labview community edition installed. On that PC an arduino uno is plugged with some sensors.
</p>

<p>
	I'm trying to get some data from a sensor attached to a raspberry pi. I saw a guy on the web that connected the pi to the PC using mobile hotspot on windows and loading the makerhub firmware and getting the IP that way.<br>
	I managed to connect the pi to labVIEW and get it deploy any VI or control the GPIOs (i.e Untitled 2.vi).
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="17496" data-ratio="51.64" width="426" alt="image.png.591b831d81407e581b3c7847ea601e66.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2023_02/image.png.591b831d81407e581b3c7847ea601e66.png">
</p>

<p>
	<br>
	The thing is that I need to run a more broad VI from my main development PC (let's say Untitled 4.vi). Now I want not only to initialize a connection to the arduino uno, but also to the pi remotely. <br>
	I've been trying to initialize the pi with the LINX (makerhub) open module and from the drop down menu choosing the remote I/O-TCP, but coudn't get it to work.
</p>

<p>
	Do I need to make any configuration to the raspberry pi from the properties meny on the Web-Server  or the VI-Server tab? Or run a server from the raspberry itself?
</p>

<p>
	Which port to enter?
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="17497" data-ratio="59.61" width="203" alt="image.png.1ee0f9760444548fdf0174eb7c2630d9.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2023_02/image.png.1ee0f9760444548fdf0174eb7c2630d9.png">                        <img class="ipsImage ipsImage_thumbnailed" data-fileid="17498" data-ratio="77.78" width="234" alt="image.png.a734afc7404e15948090972ff856353c.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2023_02/image.png.a734afc7404e15948090972ff856353c.png">
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="17499" data-ratio="70.23" width="813" alt="image.png.bb5c5c64e82688938b3b5eacdd03cb79.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2023_02/image.png.bb5c5c64e82688938b3b5eacdd03cb79.png"><img class="ipsImage ipsImage_thumbnailed" data-fileid="17500" data-ratio="69.78" width="814" alt="image.png.da020f2092644147ba95783d25257e8d.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2023_02/image.png.da020f2092644147ba95783d25257e8d.png">
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	I dont even know if what I'm trying to achieve is possible, can anyone help me out?
</p>

<p>
	 
</p>

<p>
	Thank you.
</p>
]]></description><guid isPermaLink="false">22951</guid><pubDate>Thu, 16 Feb 2023 23:23:45 +0000</pubDate></item><item><title>Connecting a cRIO To The Internet Using A Mobile Connection</title><link>https://lavag.org/topic/21584-connecting-a-crio-to-the-internet-using-a-mobile-connection/</link><description><![CDATA[<p>
	Hi all,
</p>

<p>
	I wonder if anyone can share some advice for me. I am working on a new project that is the pretty standard cRIO + Windows PC combination. The network topology is not super complicated and I have tried to diagram it.
</p>

<p>
	The use case I am trying to solve is this: <strong>How can I connect to the cRIO and the Windows PC from my dev PC which is connected via the internet and a mobile phone network?</strong> Phrased another way, how do I assign static, internet facing IP addresses to the cRIO and Windows PC?
</p>

<p>
	In my diagram all the IP addresses are totally made up, but are just to prove a point. If the cRIO is on 192.168.1.100 and the Windows PC is 192.168.1.200. As I understand I have to somehow get a static IP address from my mobile phone vendor (say the 136.154.2.75) and then modify the port forwarding on the Mobile Router so that traffic goes to the right place. What if I had two cRIOs, how would I address them independently?
</p>

<p>
	Sorry, these are probably quite basic networking questions. Given the proliferation of IoT and remote monitoring devices I would assume these kinds of things are commonly solved.
</p>

<p>
	Does anyone have any advice or info?
</p>

<p>
	 
</p>

<p><a href="https://lavag.org/uploads/monthly_2020_05/1999080031_Network1.png.7cfb2cd51c55893526b2d3d2c1913483.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="14891" src="https://lavag.org/applications/core/interface/js/spacer.png" data-ratio="75.36" width="771" class="ipsImage ipsImage_thumbnailed" alt="Network 1.png" data-src="https://lavag.org/uploads/monthly_2020_05/1999080031_Network1.png.7cfb2cd51c55893526b2d3d2c1913483.png"></a></p>]]></description><guid isPermaLink="false">21584</guid><pubDate>Mon, 18 May 2020 18:33:37 +0000</pubDate></item><item><title>CAN Communication in LABVIEW</title><link>https://lavag.org/topic/23292-can-communication-in-labview/</link><description><![CDATA[<p>
	I have installed NI CAN driver to communicate in LABVIEW. I can see CAN channel mentioned in NI MAX. But I cannot find the functions in function palatte. Am I missing any step or what is the problem behind it. Can anyone suggest. I am a beginner.
</p>
]]></description><guid isPermaLink="false">23292</guid><pubDate>Thu, 15 Jun 2023 13:54:44 +0000</pubDate></item><item><title>Close TCP</title><link>https://lavag.org/topic/23235-close-tcp/</link><description><![CDATA[<p>
	In the context of a Tcp communication, I would like to know if, in case of a loss of this one, it is mandatory to close the connection before reopening it in order to release the resources, or the fact that the reference becomes invalid is sufficient-it to release it automatically at the PC level.
</p>

<p>
	I ask for this, because in my project, communication has to remain active for several months and it has to reconnect itself to maintain the service.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">23235</guid><pubDate>Tue, 06 Jun 2023 10:19:21 +0000</pubDate></item><item><title>TCP/IP communication using Labview</title><link>https://lavag.org/topic/23187-tcpip-communication-using-labview/</link><description><![CDATA[<p>
	<span lang="en-us" style="font-size:11pt;" xml:lang="en-us">I have a H&amp;H PLI Series Electrical Load in my laboratory. I am targeting to control this device by giving instruction using LABVIEW. Currently, as a interface medium I am using ethernet (LAN) for communication. I have downloaded specific driver (H&amp;H PLI series) required for this device to use in LabVIEW. I am facing some difficulties in it such as providing SCPI commands which is in manual to this device but not receiving response from it. I need some help to resolve this matter. I am not able to understand the issue. I need some help. </span>
</p>
<p>
<a class="ipsAttachLink" href="https://lavag.org/applications/core/interface/file/attachment.php?id=17755&amp;key=f8b3adc3a31399e36e4ac1b340c519b9" data-fileExt='vi' data-fileid='17755' data-filekey='f8b3adc3a31399e36e4ac1b340c519b9'>delta2.vi</a></p>]]></description><guid isPermaLink="false">23187</guid><pubDate>Wed, 24 May 2023 10:38:42 +0000</pubDate></item><item><title>Opinions on the gRPC work by NI on Github?</title><link>https://lavag.org/topic/22832-opinions-on-the-grpc-work-by-ni-on-github/</link><description><![CDATA[<p>
	NI is working on gRPC and LabVIEW.   I am trying to give them feedback on their Github page.  In particular, I think they are going the wrong way in trying to create a Scripting-black-box solution rather than a simpler gRPC Library, and that this is a major danger to the project.  gRPC looks like it could be important, and we have a stake in making this project successful. 
</p>

<p>
	If anyone else would like to comment on this, please see <a href="https://github.com/ni/grpc-labview/issues/208" rel="external nofollow">https://github.com/ni/grpc-labview/issues/208</a>
</p>
]]></description><guid isPermaLink="false">22832</guid><pubDate>Fri, 09 Dec 2022 11:07:54 +0000</pubDate></item><item><title>LabVIEW OPC UA Disconnects with multiple NICs</title><link>https://lavag.org/topic/23117-labview-opc-ua-disconnects-with-multiple-nics/</link><description><![CDATA[<p>
	Hi 
</p>

<p>
	I have LabVIEW application as an OPC UA client connecting to OPC UA server on an ethernet port subnet which has no internet connected (128.x.x.x)
</p>

<p>
	Every time I try to connect to another network (with internet) be it WiFi or another ethernet adapter, LabVIEW OPC disconnects and will not connect. While LabVIEW OPC does not connect I can confirm it can still ping the OPC server and connect using other third party clients such as UA expert.
</p>

<p>
	As soon as I disconnect the non-OPC network it reconnects successfully.
</p>

<p>
	I have tried changing the metric on the network adapters, changed routing tables to force the correct adapter, made the network private to no avail.
</p>

<p>
	So something specific to LabVIEW is causing it to select the incorrect network interface card (NIC).
</p>

<p>
	Any help would be greatly appreciated
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">23117</guid><pubDate>Thu, 20 Apr 2023 04:39:32 +0000</pubDate></item><item><title>How to set credentials for MQTT LabVIEW client</title><link>https://lavag.org/topic/22798-how-to-set-credentials-for-mqtt-labview-client/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I'm using the MQTT client by <a contenteditable="false" data-ipshover="" data-ipshover-target="https://lavag.org/profile/10515-francois-normandin/?do=hovercard" data-mentionid="10515" href="https://lavag.org/profile/10515-francois-normandin/" rel="">@Francois Normandin</a> (<a href="https://github.com/LabVIEW-Open-Source/MQTT-Client" rel="external nofollow">https://github.com/LabVIEW-Open-Source/MQTT-Client</a>) with a non-LabVIEW broker that requires credentials.
</p>

<p>
	I can't find how to set username/password. Is this supported?
</p>

<p>
	Cheers
</p>
]]></description><guid isPermaLink="false">22798</guid><pubDate>Thu, 10 Nov 2022 03:09:14 +0000</pubDate></item><item><title>Remote watchdog for remote work</title><link>https://lavag.org/topic/22770-remote-watchdog-for-remote-work/</link><description><![CDATA[<p>
	Ok , I am not sure if such a device exists ... but here is what my ideal need is...
</p>

<p>
	What I am looking for is something that I can run on the remote PC when I am connected , such that I need to click a button every pre-determined amount of time , say 30 minutes , if I don't it can reset at least two, AC receptacles (120v,20A each). It needs to be USB or serial as I cannot , per corporate policy have a second ethernet port on the PC , there is no way around this.
</p>

<p>
	I prefer an out of box solution and not a home brew device. If needed (not preferred) I can always fire a contactor with the output of the watchdog device.
</p>

<p>
	Suggestions ?
</p>

<p>
	Dan
</p>
]]></description><guid isPermaLink="false">22770</guid><pubDate>Thu, 13 Oct 2022 23:21:10 +0000</pubDate></item><item><title>TCP Listener: can it fail?</title><link>https://lavag.org/topic/22740-tcp-listener-can-it-fail/</link><description><![CDATA[<p>
	Has anyone ever encountered a case where a TCP Listener is created and used, but at some point becomes invalid, throwing an error at the "TCP Wait on Listener" node?  I'm trying to understand a rare issue on a deplyed system that might be explained by that.
</p>
]]></description><guid isPermaLink="false">22740</guid><pubDate>Fri, 23 Sep 2022 15:59:07 +0000</pubDate></item><item><title>Installing third party certificate for NI Application Web Services</title><link>https://lavag.org/topic/22689-installing-third-party-certificate-for-ni-application-web-services/</link><description><![CDATA[<p style="background-color:#ffffff;color:#333333;font-size:16px;padding:0px;text-align:left;">
	<span>I have an externally signed certificate for TLS that I am trying to install to replace an expired certificate. I have followed the process described </span><a href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000001Dke3CAC&amp;l=en-US" rel="external nofollow" style="background-color:transparent;color:#044123;">here</a><span>. Everything appears to work but when the application web server is restarted so it will pick up the new certificate I see that the certificate has disappeared. The files are still there but when looking at the application web server info in the ancient Internet Explorer interface the certificate is gone. I have enabled logging for the application web server but I never see any entries in the log file. This had worked in the past but now nothing is working. BTW, the certificate works fine as the NI System Web server uses it and everything works as expected. The certificate is also used on a different Linux based web server (it is a wildcard certificate for my domain). I would like to get this certificate installed and working. Anyone have any suggestions?</span>
</p>

<p style="background-color:#ffffff;color:#333333;font-size:16px;padding:0px;text-align:left;">
	 
</p>

<p style="background-color:#ffffff;color:#333333;font-size:16px;padding:0px;text-align:left;">
	<span>I should also note that in the race instances that the certificate still appears in the Ni Application Web Server configuration (via the Internet Explorer interface) any attempt to invoke a connection using TLS is rejected immediately. A trace using Wireshark shows the connection is accepted and the Client Hello message is received from the client then the connection is immediately closed with a TCP-RST by the server. All of this had worked properly in the past. The only difference is that I am installing a new certificate since the old one expired. This certificate is valid since it works with the NI Web Server as well as a Linux based Apache server.</span>
</p>
]]></description><guid isPermaLink="false">22689</guid><pubDate>Thu, 01 Sep 2022 21:58:46 +0000</pubDate></item><item><title>10Gb Ethernet</title><link>https://lavag.org/topic/22624-10gb-ethernet/</link><description><![CDATA[<p>
	Has anyone done a bandwidth test to see how much data they can push through a 10GbE connection? I'm currently seeing ~2Gbps. One logical processor is at 100%. I could try to push more but I'm wondering what other people have seen out there. I'm using a packet structure similar to <a href="https://www.ni.com/en-us/support/documentation/supplemental/21/simple-messaging-stm-communication-library-for-labview.html" rel="external nofollow">STM</a>. I bet jumbo frames would help.
</p>

<p>
	Processor on PC that transmits the data: Intel(R) Xeon(R) CPU E3-1515M v5 @ 2.80GHz, 2808 Mhz, 4 Core(s), 8 Logical Processor(s)   
</p>
]]></description><guid isPermaLink="false">22624</guid><pubDate>Thu, 14 Jul 2022 19:34:39 +0000</pubDate></item><item><title>OMRON PLC communication via Ethernet IP</title><link>https://lavag.org/topic/22515-omron-plc-communication-via-ethernet-ip/</link><description><![CDATA[<p>
	Hi,<br />
	 I'm currently communicating with some Rockwell (allen Bradley)PLCs via ethernet IP using an old ethernet IP toolkit.<br />
	Now I would like to communicate with an OMRON PLC but the toolkit have some problem with it ( I suppose it's due to a specific DLL used to communicate).<br />
	Does anyone of you know how to communicate with an Omron PLC via Ethernet IP? (no OPC or Modbus)<br />
	I found ther is an NI official toolkit for ethernet IP but I can't find an evaluation version to know if it allow communication or not.<br />
	Thank you so much.<br />
	<br />
	 
</p>
]]></description><guid isPermaLink="false">22515</guid><pubDate>Thu, 21 Apr 2022 10:32:22 +0000</pubDate></item><item><title>Interactive Webpage VI Options</title><link>https://lavag.org/topic/19254-interactive-webpage-vi-options/</link><description><![CDATA[<p>Topic continuing from <a href="https://lavag.org/topic/19236-turn-your-front-panel-into-an-interactive-html5-site/" rel="">here</a>.  Discussion was talking about alternatives of generating interactive web pages that hook into running VIs.</p>
<p> </p>
<p>Here is another non-free competitor.</p>
<p> </p>
<p><a href="https://vfpsoft.com/webpager/" rel="external nofollow">Webpager</a></p>
]]></description><guid isPermaLink="false">19254</guid><pubDate>Thu, 01 Oct 2015 18:46:11 +0000</pubDate></item><item><title>Web service for noobs like me</title><link>https://lavag.org/topic/22369-web-service-for-noobs-like-me/</link><description><![CDATA[<p>
	I was trying a python http communication tutorial - <a href="https://aiohttp-demos.readthedocs.io/en/latest/tutorial.html#views" rel="external nofollow">https://aiohttp-demos.readthedocs.io/en/latest/tutorial.html#views</a> - when I had to disable the NI Application Web Server to proceed.  And then I thought, what the **** am I doing?  Maybe I should take the free (well, prepaid) gift of a working web server.
</p>

<p>
	Here's my task.  A central HQ computer will have a GUI that monitors five machine stations, each of which has its own computer.  Every approx 10 ms (negotiable), each station gives a report consisting of two arrays, the larger being 2048 data points, the other much smaller.  Whenever HQ feels like it, HQ can tell a station to start or stop (its computer stays on).  A local IP connection is used, with a router at each end.  There is also a Raspberry Pi with its own IP address at each station's router, that can send camera frames to HQ.  The station-computers use Python and C++ to do their work, not counting whatever needs to be added to communicate with HQ.
</p>

<p>
	Your advice please?  Should I use Labview?  On both ends or just the HQ?  And which if any of these helpful add-ons suggested by Hooovahh should I use?
</p>
<iframe allowfullscreen="" data-embedauthorid="6627" data-embedcontent="" data-embedid="embed3226007082" scrolling="no" src="https://lavag.org/applications/core/interface/index.html" style="height:296px;max-width:500px;" data-embed-src="https://lavag.org/topic/19254-interactive-webpage-vi-options/?do=embed&amp;comment=116139&amp;embedComment=116139&amp;embedDo=findComment"></iframe>

<p>
	 
</p>
]]></description><guid isPermaLink="false">22369</guid><pubDate>Wed, 22 Dec 2021 15:18:01 +0000</pubDate></item><item><title>Modbus read problem - beginner level</title><link>https://lavag.org/topic/22065-modbus-read-problem-beginner-level/</link><description><![CDATA[<p>
	          I'm trying to read six input registers from a remote device but the software I put together doesn't seem to do much; no errors but no read-backs either.  I'm a beginner, so the answer is probably simple.  The remote device input registers start at 200 hex.  The device uses TCP and the IP address is correct.  My computer communicates well with the remote device through QmodMaster.  Any help you could give would be appreciated.  Thanks, Mike.
</p>

<p>
	 
</p>

<p>
	 
</p>
<p>
<a class="ipsAttachLink" href="https://lavag.org/applications/core/interface/file/attachment.php?id=15880" data-fileExt='pdf' data-fileid='15880'>Modbus Read 01.pdf</a> 
<a class="ipsAttachLink" href="https://lavag.org/applications/core/interface/file/attachment.php?id=15881" data-fileExt='vi' data-fileid='15881'>So far 01.vi</a></p>]]></description><guid isPermaLink="false">22065</guid><pubDate>Thu, 03 Jun 2021 19:12:33 +0000</pubDate></item><item><title>Get Host Name performance issue</title><link>https://lavag.org/topic/19322-get-host-name-performance-issue/</link><description><![CDATA[<p>Here is a fun fact I just discovered:</p>
<p> </p>
<p>If you want to get the host name of your machine in LabVIEW, there is a function for that:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_11_2015/post-2411-0-04123500-1446846555.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_11_2015/post-2411-0-04123500-1446846555.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=10760" class="ipsImage ipsImage_thumbnailed" alt="post-2411-0-04123500-1446846555.png"></a></p>
<p> </p>
<p>If you want to get the host name using .NET, then you can call the method System.Net.DNS.GetHostName using an invoke node:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_11_2015/post-2411-0-13678500-1446846576.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_11_2015/post-2411-0-13678500-1446846576.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=10761" class="ipsImage ipsImage_thumbnailed" alt="post-2411-0-13678500-1446846576.png"></a></p>
<p><a href="https://msdn.microsoft.com/en-us/library/system.net.dns.gethostname(v=vs.100).aspx" rel="external nofollow">https://msdn.microsoft.com/en-us/library/system.net.dns.gethostname(v=vs.100).aspx</a></p>
<p> </p>
<p>Now the fun part:</p>
<p>If you call each of these functions on a Window7 OS they execute fairly quickly:</p>
<p> </p>
<p>LabVIEW Method: 0.000289767 seconds consistently.</p>
<p>.NET Method: 0.182981 first call, 0.000417647 seconds subsequent calls  (must be a cache)</p>
<p> </p>
<p>Next, try the same thing on a Windows Server 2012R2 OS:</p>
<p> </p>
<p>LabVIEW Method: 4.53384 seconds (WTF LabVIEW???)</p>
<p>.NET Method: 0.187395 first call, 0.000350523 seconds subsequent calls  (again, must be a cache)</p>
<p> </p>
<p>So, let's say you are using the machine name at a unique identifier to manage a networked messaging architecture.  And as a result, you are often getting the machine name to tag a message you are sending with the sender's 'name'.  And you decide to run you system on Windows Server 2012R2 OS.  It will *work* but your performace will be down the tubes...</p>
<p> </p>
<p>Any ideas on what could possibly be causing this?  I know I could come up with my own cache of the host name in my code and then access it via FGV or something simular, but that is no excuse for this dismal performance.</p>
<p> </p>
<p>FWIW, there is yet another way to do this:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_11_2015/post-2411-0-37045300-1446846597.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_11_2015/post-2411-0-37045300-1446846597.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=10762" class="ipsImage ipsImage_thumbnailed" alt="post-2411-0-37045300-1446846597.png"></a></p>
<p><a href="https://msdn.microsoft.com/en-us/library/system.environment.machinename.aspx" rel="external nofollow">https://msdn.microsoft.com/en-us/library/system.environment.machinename.aspx</a></p>
<p> </p>
<p>execution time: 7.91631E-5 seconds on Both OSes.</p>
<p> </p>
<p>This leads me to the fact that a lot of the advice out there on this topic may need updating.</p>
<p><a href="http://digital.ni.com/public.nsf/allkb/4B3877DB13370AA586257542003945A9" rel="external nofollow">http://digital.ni.com/public.nsf/allkb/4B3877DB13370AA586257542003945A9</a></p>
<p><a href="https://decibel.ni.com/content/docs/DOC-3917" rel="external nofollow">https://decibel.ni.com/content/docs/DOC-3917</a></p>
<p><a href="http://forums.ni.com/t5/LabVIEW/Get-Computer-Name/td-p/101433" rel="external nofollow">http://forums.ni.com/t5/LabVIEW/Get-Computer-Name/td-p/101433</a></p>
<p> </p>
<p>-John</p>
]]></description><guid isPermaLink="false">19322</guid><pubDate>Fri, 06 Nov 2015 22:08:21 +0000</pubDate></item><item><title>labview web publish need help!</title><link>https://lavag.org/topic/22226-labview-web-publish-need-help/</link><description><![CDATA[<p>
	i want remote control  labview VI in my phone. 
</p>

<p>
	but silverliight work only IE . 
</p>

<p>
	how can i do work chrom app
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">22226</guid><pubDate>Fri, 01 Oct 2021 04:06:19 +0000</pubDate></item><item><title>Get 8 channel data in 8 rows and store the data</title><link>https://lavag.org/topic/22167-get-8-channel-data-in-8-rows-and-store-the-data/</link><description><![CDATA[<p>
	I am Working on  a small project where I put to 8 bit channel data in 8 rows and graph from there. I have reached to point of getting parsing data. But I want to store it into arrays but I do not know how to do it. My VI for now.
</p>
<p>
<a class="ipsAttachLink" href="https://lavag.org/applications/core/interface/file/attachment.php?id=16003&amp;key=c9ef2046eaedb267f1b047cffb82a824" data-fileExt='vi' data-fileid='16003' data-filekey='c9ef2046eaedb267f1b047cffb82a824'>Channel and value.vi</a></p>]]></description><guid isPermaLink="false">22167</guid><pubDate>Wed, 04 Aug 2021 05:29:41 +0000</pubDate></item><item><title>Data to Web-Page Using HTTP REST LabVIEW</title><link>https://lavag.org/topic/22085-data-to-web-page-using-http-rest-labview/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	I am new to using LabVIEW, but have started working with the http REST client, and was curious on how I could send data to a webpage using these tools? 
</p>

<p>
	Any help is appreciated. 
</p>

<p><a href="https://lavag.org/uploads/monthly_2021_06/1830568819_HTTPRESTCLIENT.png.9e9b242c93b864eb534c832865d9afe2.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="15931" src="https://lavag.org/applications/core/interface/js/spacer.png" data-ratio="46.30" width="2097" class="ipsImage ipsImage_thumbnailed" alt="HTTP REST CLIENT.png" data-src="https://lavag.org/uploads/monthly_2021_06/1830568819_HTTPRESTCLIENT.png.9e9b242c93b864eb534c832865d9afe2.png"></a></p>]]></description><guid isPermaLink="false">22085</guid><pubDate>Fri, 25 Jun 2021 17:36:46 +0000</pubDate></item><item><title>udp open error 54</title><link>https://lavag.org/topic/14790-udp-open-error-54/</link><description><![CDATA[<p>I receive UDP error 54 when trying to open IP address and port.</p>
<p>LabVIEW is running on 192.168.2.10 and another application(not written using LabVIEW) is running on 192.168.2.4. Application on  192.168.2.4 is configured to send the data to 192.168.2.10. So first three UPD open and last UDP open is working and labview is able to open the port on the same ip labview application resides which in this case is 192.168.2.10.</p>
<p>It returns error 54 when UDP open tires to open port at 192.168.2.4?</p>
<p>As the error stated to ping, the ping snapshot is when done from 192.168.2.10 pc.</p>
<p>Does anyone know why would Labview UDP open work for only localhost (198.168.2.10 same pc where labview is running) and not able to open UDP connection for 192.168.2.4?</p>
<p>TIA.</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_08_2011/post-9853-0-89557200-1314053901.jpg" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_08_2011/post-9853-0-89557200-1314053901_thumb.jpg" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=5087" class="ipsImage ipsImage_thumbnailed" alt="post-9853-0-89557200-1314053901_thumb.jp"></a></p>
]]></description><guid isPermaLink="false">14790</guid><pubDate>Mon, 22 Aug 2011 23:01:17 +0000</pubDate></item><item><title>Import Web Service function and WS on Java LV 8.5</title><link>https://lavag.org/topic/8000-import-web-service-function-and-ws-on-java-lv-85/</link><description><![CDATA[<p>Hello.</p>
<p>I have a strange problem with "Import Web Service" function in LabView 8.5. When I try call WSDL file from WS written in .NET then everything is ok. I skip the autentication, push Next and I can create Project Library. But when I want call WSDL file from WS written in JAVA I get error message "Validation Failed". I checked both WS in "StrikeIron Web Service Analizer" and in this application both WS work well.</p>
<p>Mayby I do something wrong. Or mayby LabView don't like WS from JAVA.</p>
<p> I need a hint certainly.</p>
<p>Thanks.</p>
]]></description><guid isPermaLink="false">8000</guid><pubDate>Sat, 12 Jul 2008 08:11:24 +0000</pubDate></item><item><title>HTTP Post does not work</title><link>https://lavag.org/topic/21862-http-post-does-not-work/</link><description><![CDATA[<p>
	Hi everyone,
</p>

<p>
	I am start working on a project require to communicate with a web service (written by another team). I have to use POST HTTP function to request access token with provide username, password and tenant name in JSON format. I use Flatten to JSON to convert a cluster to JSON string for buffer. I have connect URL as it suppose to be. I event use string constant to pass in the JSON directly, but when I ran, it returned header:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">HTTP/1.1 401 UNAUTHORIZED
Date: Tue, 15 Dec 2020 04:05:22 GMT
Content-Type: application/json
Content-Length: 44
Connection: keep-alive
Access-Control-Allow-Origin: *
Server: Werkzeug/0.14.1 Python/3.7.2</span></pre>

<p>
	body:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">{"message":"Error in Database connnection"}</span></pre>

<p>
	The another team told me to test with Postman and it run fine with the same input URL and JSON data. It returns the correct access token.
</p>

<p>
	I am not sure what the different between my labVIEW code and the Postman structure. 
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15474" data-ratio="88.44" width="199" alt="image.png.aa7c77aa874cee82c4a335249170f7f4.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_12/image.png.aa7c77aa874cee82c4a335249170f7f4.png">
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15475" data-ratio="45.37" width="216" alt="image.png.b8e51edb424e416fd039942292293322.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_12/image.png.b8e51edb424e416fd039942292293322.png">
</p>

<p>
	I don't have much experience with HTTP and Web service through so I ask for your inputs.
</p>

<p>
	Thank you very much in advance.
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">21862</guid><pubDate>Tue, 15 Dec 2020 06:18:37 +0000</pubDate></item><item><title>Industrial EtherNet (EtherNet/IP)</title><link>https://lavag.org/topic/6104-industrial-ethernet-ethernetip/</link><description><![CDATA[<p><strong>Implementation of Common industrial Protocol (CIP) via EtherNet [EtherNet/IP (CIP)]</strong></p>
<p><strong>EtherNet_IP_PCCC</strong></p>
<p>Use these set of VIs to communicate with MicroLogix Series PLCs Via EtherNet.</p>
<p>These VIs use simple TCP/IP Communication.</p>
<p>Communication : Ethernet, TCP/IP</p>
<p>Protocol : EtherNet/IP</p>
<p>Service :CIP (For Connection Management), CIP Service for PCCC</p>
<p>Command : PCCC</p>
<p>Tested with : MicroLogix 1100, MicroLogix 1500,1200(with NET-ENI)</p>
<p>No OPC Server Required</p>
<p>No Automation Server Required</p>
<p>No NI-DSC Module Required.</p>
<p>Note: These VIs access N7 Integer File. To access other Files in the PLCs, just replace the "Fileno" Constant(0x07) with a Control and make it as a parameter to the SubVI.</p>
<p><strong>EtherNet_IP_CIP</strong></p>
<p>Use these set of VIs to communicate with CompactLogix, Control Logix Series PLCs, Any Device that supports CIP(EtherNet/IP)</p>
<p>These VIs uses simple TCP/IP Communication.</p>
<p>Communication : Ethernet, TCP/IP</p>
<p>Protocol : EtherNet/IP</p>
<p>Service :CIP (For Connection Management, Read, Write)</p>
<p>Command : CIP Commands</p>
<p>Tested with : Compact Logix Series PLCs</p>
<p>No OPC Server Required</p>
<p>No Automation Server Required</p>
<p>No NI-DSC Module Required.</p>
<p>Visit : <a href="http://www.odva.org/" rel="external nofollow">ODVA Website for EtherNet/IP Protocol Specification</a></p>
]]></description><guid isPermaLink="false">6104</guid><pubDate>Wed, 12 Sep 2007 08:09:24 +0000</pubDate></item><item><title>Azure IoT + MQTT</title><link>https://lavag.org/topic/21615-azure-iot-mqtt/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I am trying to send a simple message to an Azure IoT hub. I am pretty new to all this, but have followed a few tutorials and Pluralsight courses and can successfully send a message from VS Code to my hub.
</p>

<p>
	What I have not been able to do yet is send a message using LabVIEW. I have tried several different MQTT libraries, without any success. Has anyone done this kind of thing before and can offer guidance on which toolkit they used?
</p>

<p>
	I am using VSCode to generate the SAS token and using that as the password.
</p>

<p>
	Edit: I have been able to send some messages using simple C# code, this code works fine.
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="14990" data-ratio="51.66" width="1200" alt="image.png.84aaf87467b72df258a4e02053489787.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_06/image.png.84aaf87467b72df258a4e02053489787.png">
</p>
]]></description><guid isPermaLink="false">21615</guid><pubDate>Sat, 13 Jun 2020 14:47:15 +0000</pubDate></item><item><title>Controlling external applications using RPC</title><link>https://lavag.org/topic/9261-controlling-external-applications-using-rpc/</link><description><![CDATA[<p>Has anyone implemented the RPC protocol in G to control external applications via RPC? I am looking at automating some tests using an external chasis which can be controlled via RPC calls. I would like to use LabVIEW as the automation platform to leverage our current code bas for communicating and controlling the product under test. I have seen the LabVIEW XMPRPC server but that is for controlling LabVIEW via RPC, not the other way. Any pointers or suggestion would be appreciated.</p>
<p>Thanks</p>
]]></description><guid isPermaLink="false">9261</guid><pubDate>Thu, 22 Jan 2009 13:51:24 +0000</pubDate></item><item><title>SSL Certificates and LabVIEW</title><link>https://lavag.org/topic/21743-ssl-certificates-and-labview/</link><description><![CDATA[<p>
	<a href="https://forums.ni.com/t5/LabVIEW/SSL-Certification-and-LabVIEW/td-p/3277541?profile.language=en" rel="external nofollow">Cross post, </a>
</p>

<p>
	Hopefully someone here can shed light on the why authention with the LabVIEW HTTP Client VIs isn't working.
</p>

<p>
	I've heard that you need to register the SSL? Does anyone know more on this?
</p>

<p>
	 
</p>

<p>
	Thanks a bunch.
</p>
]]></description><guid isPermaLink="false">21743</guid><pubDate>Thu, 03 Sep 2020 11:35:58 +0000</pubDate></item><item><title>LabVIEW Web Server with API Key and client authentication</title><link>https://lavag.org/topic/21360-labview-web-server-with-api-key-and-client-authentication/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	first of all: I'm new to web server in general (non only labview web server)! Starting from the official examples now I managed to realize very simple web server with two methods and SSL communication enabled; it' only a small test that I'm using to understand the basic, than I will create the fully featured one and implement it in my main application.
</p>

<p>
	I'm stuck with the authentication aspect of the web server. I was able to create a group and a permission, set a specific method to accept communication with this permission (auth with username/pw); but my understanding is that, choosing this type of authentication, only request from Internet Explorer (the only browser that's still supporting Silverlight) or from a LabVIEW client will work. In the final application the request to the LabVIEW Web Server will be performed from a client coded in python.
</p>

<p>
	Now I'm trying to configure a LabVIEW Web Server with API-based authentication. Unfortunately, even a simple LabVIEW client cannot successfully communicate with the server. Here you can find some screenshot of the LabVIEW WS settings, the web-based Configuration and Monitoring, the block diagram of the client and its front panel with the reply from the web server.
</p>

<p>
	The LabVIEW client works fine with the same GET string when the server has no authentication or the username/pw. When I try to use the API key solution the response to the client from the server is 403 - Forbidden.
</p>

<p>
	Any help?
</p>

<p>
	Thank you very much!
</p>

<p>
	Marco.
</p>

<p>
	 
</p>

<p>
	Web server - security of the method getDynamicData. "Require API key" selected.
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="14549" data-ratio="68.46" width="853" alt="37392169_WebServiceMethod_securitysettings.PNG.5ee3cfcd873ac7c2e2530f22ac7ecbcf.PNG" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_01/37392169_WebServiceMethod_securitysettings.PNG.5ee3cfcd873ac7c2e2530f22ac7ecbcf.PNG">
</p>

<p>
	Web server. URL Mapping of the method "getDynamicData"
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="14550" data-ratio="33.92" width="569" alt="UrlMapping.PNG.358bd6a0c0821cc62bf92dcca4414100.PNG" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_01/UrlMapping.PNG.358bd6a0c0821cc62bf92dcca4414100.PNG">
</p>

<p>
	 
</p>

<p>
	Web-based Configuration and Monitoring. Web services API key
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="14552" data-ratio="43.16" width="760" alt="Settings.PNG.a7c11600c8f4e189e044ac9eb0a30778.PNG" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_01/Settings.PNG.a7c11600c8f4e189e044ac9eb0a30778.PNG">
</p>

<p>
	 
</p>

<p>
	Block diagram of the LabVIEW client
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="14553" data-ratio="53.04" width="477" alt="Client_code.png.993aac2729e0afa2e5fda0a326903c99.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_01/Client_code.png.993aac2729e0afa2e5fda0a326903c99.png">
</p>

<p>
	Front panel of the LabVIEW client
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="14554" data-ratio="93.00" width="514" alt="Client_frontpanel.PNG.6e61294dc101435104aa3813019e7e68.PNG" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_01/Client_frontpanel.PNG.6e61294dc101435104aa3813019e7e68.PNG">
</p>
]]></description><guid isPermaLink="false">21360</guid><pubDate>Thu, 30 Jan 2020 10:55:00 +0000</pubDate></item><item><title>Inter-process/target MQTT Communication with Local Broker and Bridge</title><link>https://lavag.org/topic/21599-inter-processtarget-mqtt-communication-with-local-broker-and-bridge/</link><description><![CDATA[<p>
	I have an application where I have a handful of windows and linux cRIOs (and potentially RPis) that all need to talk to each other and (already) communicate to an existing remote MQTT AWS instance. Some of the discussion at the end of <a href="https://lavag.org/topic/20628-mqtt-for-labview/" rel="">this topic</a> is relevant as I've looked at DDS, but I didn't want to resurrect that post and take it further off topic. The licensing for DDS is quite expensive and they don't have a "LabVIEW toolkit" pricing package, rather a mix of product line pricing per project and developer licenses. The speed and "determinism" of the databus is attractive, but perhaps unnecessary for this application. The built in LabVIEW options aren't as flexible as I would like in regard to automatic discovery and establishing connections (and NSVs are not supported on RPi, but streams might be?), but I would be happy to have my mind changed.
</p>

<p>
	This all is to say I keep coming back to the concept of using MQTT locally as well as remotely and bridge the brokers, much of the logic is in place or could expand to fit the local requirements. The local communication would handle commands and tags/current values between systems and the brokers would package a subset of that to be sent remotely. <a href="https://pagefault.blog/2017/03/02/using-local-mqtt-broker-for-cloud-and-interprocess-communication/" rel="external nofollow">This blog post</a> from 2017 gave me some inspiration.
</p>

<p>
	Has anyone gone down this road and has any feedback or suggestions pro/con?
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">21599</guid><pubDate>Thu, 28 May 2020 15:10:57 +0000</pubDate></item><item><title>Remote Panel Server with .NET Interop-Assembly</title><link>https://lavag.org/topic/21413-remote-panel-server-with-net-interop-assembly/</link><description><![CDATA[<p>
	Hi guys!
</p>

<p>
	I have here a LabVIEW 2014 project which was compiled into a .NET Interop Assembly.
</p>

<p>
	Now I try to activate the LabVIEW Remote Panel Server for the assembly.<br>
	Apparently it seems to be active.<br>
	But for every VI i get the message that it is not in memory.
</p>

<p>
	But I am sure that these are in memory.<br>
	When I compile the project to an executable, everything runs fine.
</p>

<p>
	Does anyone have a hint what I am doing wrong?
</p>

<p>
	the content of the ini file (InteropAssembly.ini):
</p>

<pre class="ipsCode">
[InteropAssembly]
server.app.propertiesEnabled=True
server.ole.enabled=True
server.tcp.acl="290000000A000000010000001D00000003000000010000002A10000000030000000000010000000000"
server.tcp.enabled=True
server.tcp.port=3361
server.tcp.paranoid=True
server.tcp.serviceName=""
server.vi.access="+*"
server.vi.callsEnabled=True
server.vi.propertiesEnabled=True
WebServer.Enabled=True
WebServer.TcpAccess="c+*"
WebServer.ViAccess="+*"
DebugServerEnabled=True
DebugServerWaitOnLaunch=False

</pre>

<p>
	 
</p>
]]></description><guid isPermaLink="false">21413</guid><pubDate>Mon, 02 Mar 2020 10:37:53 +0000</pubDate></item><item><title>LabVIEW, Websockets, and SVG</title><link>https://lavag.org/topic/13777-labview-websockets-and-svg/</link><description><![CDATA[<p>I normally don't post on LAVA, but lately I have been experimenting with the WebSocket protocol, ecmascript, and the SVG DOM for creating animated browser displays with data streamed from LabVIEW.  The technique is surprisingly simple.   All you have to do is create a script to change the attributes of the SVG elements using the Document Object Model.   The WebSocket protocol has a built in message event handler that allows you to create your own script function which executes when messages are received.  The browser connects to the socket server and sends a handshake when you create the WebSocket object in script.  </p>
<p>All you need do is put a TCP/IP listerner in your diagram and return this handshake as described in the <a href="http://en.wikipedia.org/wiki/WebSockets#WebSocket_Protocol_Handshake" rel="external nofollow">wikipedia article on WebSockets</a>.  Once the connection is made, you can stream bidirectional data between your LabVIEW application and any bleeding edge browser (Firefox 4, Chrome 9, Safari, IE9?).  You can use the DOM to set the transform attributes of SVG elements using the streamed info (rotate, scale, set heigh, width, line points, etc.).  </p>
<p>Now that we can all design our own GUI objects using Inkscape (free), I suggest a concerted effor to develop a standard SVG format, streaming protocol (based on WebSockets) and open-source script library.  The very best thing about this is that it is all FREE, and runs on any platform that has an HTML5/SVG/WebSockets supporting browser (I'm keeping my fingers crossed for the next firmware revision of the Nintendo DSi), and requires NO PLUGINS.   So all you folks with iOS and Android who feel left out by the WebUI Builder, or those of us who are infurated by it's $1500/yr price tag (after spending $ on LabVIEW RT/FPGA), Cheer Up!  </p>
<p>Here are some screenshots of my efforts.  The files are opened in the OS, but will also work when served by the old-fashioned "non-webservices" <abbr title="LabVIEW">LV</abbr>  web server (you gotta add an SVG mime type to the mime-types file).</p>
<p>You can also use <a href="http://www.rgraph.net/" rel="external nofollow">RGraph Library</a> and the HTML &lt;canvas&gt; tag if you want to implement a non-SVG browser solution.  The library is free for non-commercial use.</p>
<p>I suggest a community effort the create the standard SVG formats for UI elements, and a free, open-source ecmascript library for handling the messaging and DOM animation tasks.  If there is interest, I will upload my script as a starting point, but I must warn that there is much improvement needed.</p>
<p>sm</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_02_2011/post-17965-0-35323400-1296849792.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_02_2011/post-17965-0-35323400-1296849792_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=3889" class="ipsImage ipsImage_thumbnailed" alt="post-17965-0-35323400-1296849792_thumb.p"></a></p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_02_2011/post-17965-0-40781200-1296849878.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_02_2011/post-17965-0-40781200-1296849878_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=3890" class="ipsImage ipsImage_thumbnailed" alt="post-17965-0-40781200-1296849878_thumb.p"></a></p>
]]></description><guid isPermaLink="false">13777</guid><pubDate>Fri, 04 Feb 2011 20:11:09 +0000</pubDate></item><item><title>TCP_NODELAY.llb library</title><link>https://lavag.org/topic/14989-tcp_nodelayllb-library/</link><description><![CDATA[<p>Does anyone know the password for the GetSocketInfo VI in the above library? I would like to make my own library with several other functions. I would like to use the new lvlib format instead of the llb format. However, the one VI is password protected and therefore I cannot add it in any other library.</p>]]></description><guid isPermaLink="false">14989</guid><pubDate>Thu, 29 Sep 2011 22:05:24 +0000</pubDate></item><item><title>zeromq - simple fast lightweight communication - does it fill a gap in NIs offering?</title><link>https://lavag.org/topic/17732-zeromq-simple-fast-lightweight-communication-does-it-fill-a-gap-in-nis-offering/</link><description><![CDATA[<p>I've tried datasocket, too limiting. Tcpip - there's got be a higher level than that. Shared network variables - daunting in complexity and still proprietary to NI. I found 0mq or zeromq the other day, which ticks a lot of boxes. I've written an Excel based test executive but wanted a robust and simple interface to control distributed slave instrument apps. It prototyped ok in datasocket if it wasn't for the fact that controls all appear as integers whatever their real type before they are written to. This makes auto-discovery of resources a pain.</p>
<p>I don't see any discussion of zeromq on lavag, has anyone got experience of using the labview version - <a href="http://sourceforge.net/p/labview-zmq/wiki/Home/" rel="external nofollow">http://sourceforge.net/p/labview-zmq/wiki/Home/</a> ? It would be comforting to know it had proved to be reliable and scaled ok before spending any more time on it. I'm encouraged by some prototypes i've written for fault tolerance.</p>
<p>Would welcome any experience with 0mq and other suggestions for simple networking without going completely back to basics.</p>
<p>Cheers bob, uk</p>
]]></description><guid isPermaLink="false">17732</guid><pubDate>Sun, 17 Nov 2013 20:03:48 +0000</pubDate></item><item><title>NXG Web Module</title><link>https://lavag.org/topic/21274-nxg-web-module/</link><description><![CDATA[<p>
	Not sure if this is the right place for this, so mods please feel free to move if it is not.
</p>

<p>
	I have just started to play around with the Web Module in NXG 4.0. There are quite a few tutorials around, but (unless I have missed something) all of them seem to gloss over the task of getting a trivially simple web VI actually running locally. After a bit of head scratching I did manage to get something up and running eventually, but have a question which is hopefully simple for anyone who has used the Web Module.
</p>

<p>
	<strong>When running the web VI inside the NXG IDE, is there anything actually hosting it?</strong> In other words can I visit some address from my web browse to see it running while I am developing it? Or do I have to build (i.e. turn into html and JS) and then copy the files manually to my NI Web Server directory?
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">21274</guid><pubDate>Sun, 17 Nov 2019 16:54:38 +0000</pubDate></item><item><title>Two Factor Authentication (2FA) and LabVIEW</title><link>https://lavag.org/topic/21215-two-factor-authentication-2fa-and-labview/</link><description><![CDATA[<p>
	Has anyone dealt with integrating with 3rd party two factor authentication systems (e.g. Google Authenticator, Authy, Microsoft Authenticator)? I've searched around and found some information about Oauth 1.0a <a href="https://forums.ni.com/t5/OAuth-Toolkit-for-LabVIEW/gp-p/8521?profile.language=en" rel="external nofollow">here</a> but I'm not sure that is much help. 
</p>

<p>
	The use case is an operator wanting to trigger an action that is approved by a supervisor on a mobile device. Offline authentication would be very helpful too.
</p>
]]></description><guid isPermaLink="false">21215</guid><pubDate>Fri, 04 Oct 2019 14:23:28 +0000</pubDate></item><item><title>Shared Variable Values after PC rebooting</title><link>https://lavag.org/topic/21222-shared-variable-values-after-pc-rebooting/</link><description><![CDATA[<p>
	Hi.
</p>

<p>
	I use shared variables on several projects on different nodes. On some of them, after rebooting the OS, the variables restore their value (as it should be), on others this does not happen. I use Windows 10 and approximately the same setting. Does anyone know where I can search in the OS settings or LabVIEW to get predicted DSC behavior after rebooting the OS.
</p>

<p>
	Sincerely, Vitaly.
</p>
]]></description><guid isPermaLink="false">21222</guid><pubDate>Tue, 08 Oct 2019 14:04:04 +0000</pubDate></item><item><title>CAN Arbitration ID changes</title><link>https://lavag.org/topic/21197-can-arbitration-id-changes/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	I wonder why my CAN Arb. ID is different when I'm using NI MAX Bus monitor (<strong>1</strong>700E701) and ncReadNetMult.vi (<strong>3</strong>700E701). The system is working with extended ID. 
</p>
]]></description><guid isPermaLink="false">21197</guid><pubDate>Fri, 20 Sep 2019 10:38:44 +0000</pubDate></item><item><title>Speed up loopback adapter</title><link>https://lavag.org/topic/21164-speed-up-loopback-adapter/</link><description><![CDATA[<p>
	Hi all!  Long time, no talk to.  <span class="ipsEmoji">🙂</span>
</p>

<p>
	I'm supposedly retired, but then decided to go over to the Dark Side and become a contractor.  We'll see how long that lasts...
</p>

<p>
	Current issue:
</p>

<p>
	A C developer and I are sending data via a MS loopback adapter between a C app and a <abbr title="LabVIEW">LV</abbr> app on the same machine (Windows 10).  Past iterations have worked great (after that little bug in LV11 was fixed).  The new system, however, needs a much higher continuous data thruput -- somewhere in the neighborhood of 900 MB/s.  The loopback adapter is topping out somewhere around 500MB/s. 
</p>

<p>
	If we switch from internal TCP to connecting two 10G NICs in the same box, the data gets passed with no problem.  So it's not the code, and we know how to configure hardware NICs for large data thruput.
</p>

<p>
	We've tried everything the web seems to offer, including a lot of things that have been supposedly deprecated.  We've tried using localhost, 127.0.0.1, a 192.68 address, and various other IP addy options. If you google "how to speed up a loopback adapter" or any variant of that, we've probably tried it.
</p>

<p>
	Does anyone have experience with tweaking a loopback adapter and have any suggestions of things to try?  If it matters, the computer is a screaming fast dual Xeon with 128 GB of memory.
</p>

<p>
	Cat
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">21164</guid><pubDate>Wed, 04 Sep 2019 22:06:08 +0000</pubDate></item><item><title>Data sharing between targets running VS and LV</title><link>https://lavag.org/topic/21014-data-sharing-between-targets-running-vs-and-lv/</link><description><![CDATA[<p>
	Hello all,
</p>

<p>
	This is my first post on this forum as I just learned about it and am fairly new to LabVIEW as well as the whole NI environment. I was at NI Week 2019 and was very impressed by the size and the quality of this community.<br>
	<br>
	I am currently working on building a test rig where we'll be doing HIL testing as well as dynamic load control. Basically, our first target (PXI-based) will be running VeriStand and dedicated to doing data acquisition and HIL. Our second target (still PXI-based) will be running LabVIEW RT 2018 and dedicated to performing load control. The first target will be equipped with a reflective memory module to share data with a third-party test infrastructure and a host-PC where the data logging will take place. I need to send over some data from the 2nd target (<abbr title="LabVIEW">LV</abbr>, load control) to the 1st target (VS, data acquisition and logging) as that data needs to be populated to the RM and logged. We're talking about 32 floats, double-precision, that I need to send at a rate of 200 hz.
</p>

<p>
	1st option: buy a RM module for my second target and populate data directly from that target.
</p>

<p>
	2nd option: send the data to the 1st target through Ethernet using "some" protocol.
</p>

<p>
	The first option seems straight forward, but definitely more expensive.
</p>

<p>
	 
</p>

<p>
	<strong>The Questions:</strong>
</p>

<p>
	1) Regarding the second option, I'm not sure how to implement that. To share data from a <abbr title="LabVIEW">LV</abbr> target to a VS target, would that be done through UDP, TCP, network-published shared variables, or another protocol?
</p>

<p>
	2) As a side question, can I connect my two (2) targets + my two (2) host PCs (1 host for data logging, 1 host for load control) through an Ethernet switch? Then, use my data logging host to communicate (GUI) with my 1st target and my load control host to communicate (GUI) with my 2nd target?
</p>
]]></description><guid isPermaLink="false">21014</guid><pubDate>Wed, 12 Jun 2019 13:32:20 +0000</pubDate></item><item><title>Finding Controls in LV executable</title><link>https://lavag.org/topic/19754-finding-controls-in-lv-executable/</link><description><![CDATA[<p>
	Hello all,
</p>

<p>
	I am looking for a way to find controls on an executable <abbr title="LabVIEW"><abbr title="LabVIEW">LV</abbr></abbr> program. <br>
	I need this function because I want to automate a series of tests (user mouse clicks for example) on an executable <abbr title="LabVIEW"><abbr title="LabVIEW">LV</abbr></abbr> program.
</p>

<p>
	The normal tools who does it with windows objects are not able to recognize <abbr title="LabVIEW"><abbr title="LabVIEW">LV</abbr></abbr> controls individually.
</p>

<p>
	My idea is to find a way to recognize <abbr title="LabVIEW"><abbr title="LabVIEW">LV</abbr></abbr> controls so I can interact with them individually.
</p>

<p>
	If anyone knows any third party programs to do automation tests for a <abbr title="LabVIEW"><abbr title="LabVIEW">LV</abbr></abbr> exe that would also be highly appreciated.
</p>

<p>
	 
</p>

<p>
	Best Regards,<br>
	Vlad
</p>
]]></description><guid isPermaLink="false">19754</guid><pubDate>Wed, 17 Aug 2016 06:13:30 +0000</pubDate></item><item><title>LabVIEW could not verify the authenticity of the server</title><link>https://lavag.org/topic/16601-labview-could-not-verify-the-authenticity-of-the-server/</link><description><![CDATA[<p>Attempting to connect over HTTPS to a web service written in LabVIEW, I get the following error:</p>
<p> </p>
<p><span style="font-family:courier, monospace;">Error 363507 - LabVIEW could not verify the authenticity of the server</span></p>
<p> </p>
<p>Shown below, this code demonstrates the issue. The 'workaround'? Set the 'verify server' flag to false.</p>
<p> </p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_02_2013/post-17237-0-05827500-1361739027.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_02_2013/post-17237-0-05827500-1361739027.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=7826" class="ipsImage ipsImage_thumbnailed" alt="post-17237-0-05827500-1361739027.png"></a></p>
<p> </p>
<p>Shown at the bottom is a simple HTTPS connection to Google works no prob -- could this indicate a misconfiguration on my web service?</p>
<p> </p>
<p>Any ideas? Thanks!</p>
]]></description><guid isPermaLink="false">16601</guid><pubDate>Sun, 24 Feb 2013 20:58:38 +0000</pubDate></item><item><title>Lost UDP packets due to ARP</title><link>https://lavag.org/topic/20818-lost-udp-packets-due-to-arp/</link><description><![CDATA[<p>
	I have LabVIEW code on 2 separate PCs using UDP to send data. It's a one-way path from a <abbr title="LabVIEW">LV</abbr> RT Pharlap Target to a Windows10 receiver. I'm streaming data at a rate of 50Hz and I don't lose any packets. I have confirmed this with Wireshark. However, every 15min. the sender sends an ARP packet instead of a UDP packet. This lost packet is critical to my process and not acceptable. Is there a way to turn off ARP or change the timeout of it to something longer than 15min? I realize I need ARP, or do I? Can I just update this magical table manually?
</p>

<p>
	<a href="https://wiki.wireshark.org/AddressResolutionProtocol" rel="external nofollow">Info on ARP from Wireshark.</a>
</p>
]]></description><guid isPermaLink="false">20818</guid><pubDate>Mon, 11 Mar 2019 10:30:43 +0000</pubDate></item><item><title>OPC UA experience</title><link>https://lavag.org/topic/20707-opc-ua-experience/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	Has anyone gone down the road of evaluating or has experience implementing the OPC UA architecture? There are a couple of toolkits out there so thankfully there is no real need to tackle the OPC .NET API. At this point I'm trying to fetter the tech side of it. What were the unexpected roadblocks you ran into?
</p>

<p>
	If anyone can share their experiences it would be appreciated.
</p>

<p>
	Thanks!
</p>
]]></description><guid isPermaLink="false">20707</guid><pubDate>Mon, 26 Nov 2018 07:38:47 +0000</pubDate></item><item><title>NI Modbus API on GitHub</title><link>https://lavag.org/topic/20610-ni-modbus-api-on-github/</link><description><![CDATA[<p>
	NI Labs Modbus API is now on GitHub!
</p>

<p>
	Password protection of VIs has been removed.
</p>

<p>
	<a href="https://github.com/NISystemsEngineering/LabVIEW-Modbus-API" rel="external nofollow">https://github.com/NISystemsEngineering/LabVIEW-Modbus-API</a>
</p>
]]></description><guid isPermaLink="false">20610</guid><pubDate>Fri, 17 Aug 2018 15:56:13 +0000</pubDate></item><item><title>Send email with Thai/ Chinese / Japanese character</title><link>https://lavag.org/topic/20705-send-email-with-thai-chinese-japanese-character/</link><description><![CDATA[<p>
	Hi everyone,
</p>

<p>
	I am trying to send email in LabVIEW with Asian character.
</p>

<p>
	No matter what I try, only the standard character are sent.
</p>

<p>
	Is anyone succeed in this?
</p>

<p>
	Thanks
</p>

<p>
	Benoit
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">20705</guid><pubDate>Mon, 26 Nov 2018 03:26:10 +0000</pubDate></item><item><title>How to use TCP client instead of Telnet client</title><link>https://lavag.org/topic/16692-how-to-use-tcp-client-instead-of-telnet-client/</link><description><![CDATA[<p>Hi all,</p>
<p>I have remote application (i.e. telnet server) using command prompt I use telnet client for example telnet 127.0.0.1 9001 and sending command to the application. And it works fine but I want to use labview based telnet client using TCP to send command to the remote application.																											 </p>
<p>By using command prompt (telnet client) i can send command directly to the application, but I have tried with TCP and it can't give me proper output please find below code snapshot and please reply.</p>
<p> </p>
<p> </p>
<p> </p>
<p>Thanks</p>
<p>Pravin</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_03_2013/post-15324-0-42680800-1364466962.jpg" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_03_2013/post-15324-0-42680800-1364466962.jpg" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=7991" class="ipsImage ipsImage_thumbnailed" alt="post-15324-0-42680800-1364466962.jpg"></a></p>
<p> </p>
]]></description><guid isPermaLink="false">16692</guid><pubDate>Thu, 28 Mar 2013 10:37:36 +0000</pubDate></item><item><title>MQTT for labview</title><link>https://lavag.org/topic/20628-mqtt-for-labview/</link><description><![CDATA[<p>
	Hello
</p>

<p>
	I am looking for a functional MQTT <s>server</s> <strong>client</strong> implementation for Labview. I have been doing some search, and found something, but they all seem to be unsupported. Does anyone have any pointers to a fully functional one? Is NI developing any stuff on this?
</p>

<p>
	Thanks
</p>

<p>
	Edited for correct content
</p>
]]></description><guid isPermaLink="false">20628</guid><pubDate>Fri, 14 Sep 2018 09:10:51 +0000</pubDate></item><item><title>Modbus RTU message framing</title><link>https://lavag.org/topic/20343-modbus-rtu-message-framing/</link><description><![CDATA[<p>
	I'm working on a Modbus Server (aka Slave) implementation for Serial communication.   Has anyone experience with this?   My immediate question is about the "RTU" format.   Standard serial format uses CRLF characters to mark the end of messages, but RTU uses "3.5 characters of silence" on the serial line.   I have no idea how to detect "silence" in a reliable way.  Past Modbus in LabVIEW implementations I've looked at seem to put waits in to create silences, but don't use the silence for defining a received message.  I am worried that this is vulnerable to error.
</p>]]></description><guid isPermaLink="false">20343</guid><pubDate>Wed, 01 Nov 2017 12:51:41 +0000</pubDate></item><item><title>Managing Distributed WES7 cDAQ Systems</title><link>https://lavag.org/topic/20589-managing-distributed-wes7-cdaq-systems/</link><description><![CDATA[<p>
	I am looking for alternatives to using Systemlink to manage a large network of WES7 cDAQ's.  I imagine there are many windows server tools out there to manage software deployment, replication, remote monitoring, etc.  I am hoping someone might have some experience in this area and could offer a few suggestions on tools that would work well for the NI ecosystem but not require being an IT specialist.  Thanks.
</p>]]></description><guid isPermaLink="false">20589</guid><pubDate>Mon, 30 Jul 2018 13:14:17 +0000</pubDate></item><item><title>Remote front panel window control (Remote Panel Methods)</title><link>https://lavag.org/topic/19443-remote-front-panel-window-control-remote-panel-methods/</link><description><![CDATA[<p>With almost no browser choices that still support the LabVIEW plugin for remote front panels, my colleagues and I have opted to just use the LabVIEW RTE to view remote panels.  This is especially important for the RT targets we are running (RIO and Pharlap machines).   We have a solution that works: using the App class "RP.Open Connection To Server" mehtod.  This little function makes it possible to create a launcher applet that launches a remote front panel in a LabVIEW RTE window, no browser needed.  However, the problem we have is that we have no control over how the new RP window is launched.  For example, we'd like the window to come up maximized, but can't seem to find the tools (LabVIEW, Win API, or otherwise) that would allow us to control this new RP window that gets created.  The LabVIEW RTE just seems to throw the window up on the screen in a random location.  If anyone has done this, gained control of the new window launched by the App class "RP.Open Connection To Server" method, we would be eternally grateful if you gave us a clue.  Thanks in advance.  </p>
<p> </p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_02_2016/post-17965-0-90699900-1454594760.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_02_2016/post-17965-0-90699900-1454594760.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=10952" class="ipsImage ipsImage_thumbnailed" alt="post-17965-0-90699900-1454594760.png"></a></p>
]]></description><guid isPermaLink="false">19443</guid><pubDate>Thu, 04 Feb 2016 14:07:22 +0000</pubDate></item><item><title>Transmitting test data over internet using TCP or HTTP?</title><link>https://lavag.org/topic/20549-transmitting-test-data-over-internet-using-tcp-or-http/</link><description><![CDATA[<p>
	I'd like it if my test stations sent their test results to a web server. I'm wondering if anyone has done this. As I see it, I can probably do some port forwarding and expose a Maria/MySQL database over the internet or I could give that database a thin web interface and send the data over PUSH http requests. Are there pro/cons to one over the other? TLS is an option for either. Do you think HTTP would be more firewall friendly?
</p>]]></description><guid isPermaLink="false">20549</guid><pubDate>Wed, 06 Jun 2018 18:36:39 +0000</pubDate></item><item><title>Web services from a cRIO?</title><link>https://lavag.org/topic/20518-web-services-from-a-crio/</link><description><![CDATA[<p>
	Has anyone had experience with web services from a cRIO?  Are they unreliable, as described <a href="https://forums.ni.com/t5/LabVIEW/web-service-intermittently-stops-woking/td-p/1826223" rel="external nofollow">here</a>?
</p>]]></description><guid isPermaLink="false">20518</guid><pubDate>Mon, 14 May 2018 18:57:42 +0000</pubDate></item><item><title>Web Service Call LabVIEW 8.6.1</title><link>https://lavag.org/topic/20402-web-service-call-labview-861/</link><description><![CDATA[<p>
	Hello Everyone,
</p>

<p>
	I have a project that I am working on. It is running on an old machine using Windows XP, and LabVIEW 8.6.1. Our customer has requested that we add the capability to make a call to a web service that they have written. They do not want to upgrade the OS or <abbr title="LabVIEW">LV</abbr> version, so I am trying to find a way to do this in 8.6.1. They have given my the wsdl file to review and it is specifying using the SOAP protocol in a request/response format. The request message, requires 5 pieces of string data from the LabVIEW application. I have never done any web service calls before in any language so I am trying to learn that as I go as well. I have tried searching on the forums on how to do this, but I have not found anything. So I would like to know if there are any VIs in 8.6.1 to support this kind of request. If there are, can someone please tell me which VIs/pallet to use and some guidance on how to use them?
</p>
]]></description><guid isPermaLink="false">20402</guid><pubDate>Fri, 12 Jan 2018 19:34:46 +0000</pubDate></item><item><title>LabVIEW Web Server Error: -67001, what is wrong?</title><link>https://lavag.org/topic/20378-labview-web-server-error-67001-what-is-wrong/</link><description><![CDATA[<p>
	I'm trying to learn how to use LabVIEW Web Server. I design very simple project to develop my skills in this topic, but unfortunatelly it dosent work:( The reason why I'm trying to find help here is, that the error code do not tell anything, there is no compilation errors, and no mather how much of code I will delete, it will not work anyway. I will be grateful for any help. The LabVIEW example is working.
</p>
<p><a class="ipsAttachLink" href="//lavag.org/applications/core/interface/file/attachment.php?id=12810">Web Server.zip</a></p>]]></description><guid isPermaLink="false">20378</guid><pubDate>Tue, 12 Dec 2017 06:46:14 +0000</pubDate></item><item><title>TCP VIs don't work from Executable?</title><link>https://lavag.org/topic/20295-tcp-vis-dont-work-from-executable/</link><description><![CDATA[<p>
	Hi Folks,
</p>

<p>
	 
</p>

<p>
	First off, I'm very new to LabVIEW and programming in general, so let me apologize in advance for my knowledge deficiencies. I'm working with a device that I can talk to with serial communications or via telnet. I developed a set of VIs that allow me to specify which method I'd like to use for communications (serial or telnet) and then open, read, write, or close the connection using either the VISA VIs or the TCP VIs respectively. I ran into an issue in that I didn't know the amount of bytes to read for the TCP Read VI because the device I'm talking to has a very large list of possible commands (and the response length may change at the whim of a developer), but I found a neat solution <a href="https://forums.ni.com/t5/LabVIEW/how-to-get-the-number-of-bytes-at-ethernt-port-using-tcp-ip/td-p/1012674/page/2" rel="external nofollow">here</a>. This last detail becomes important later.
</p>

<p>
	Anyway, everything seemingly worked great within the LabVIEW development environment. Then I had to rip an executable for an end-user. From the executable telnet doesn't work at all. Worst of all, I don't seem to get any sort of error out. In trying to resolve this issue I did some Googling and found the following <a href="https://lavag.org/topic/10236-tcp-connection-not-working-after-application-build/" rel="">post</a> suggesting that the issue might be that the VI that opens the telnet session needs to keep running. I also found this <a href="https://forums.ni.com/t5/LabVIEW/typecast-to-TCP-connection-id/m-p/1731104#M608120" rel="external nofollow">post</a> and I think rolfk's answer gets at the root of my problem ("<span style="color:rgb(51,51,51);font-family:Helvetica, Arial, sans-serif;font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);float:none;">Just be aware that LabVIEW garbage collects all its refnums as soon as the hierarchy that opened that refnum goes idle"</span>). As far as I can understand, my issue is that as soon as my subVI that opens a telnet session finishes the refnum it returns in the form of a TCP connection ID (to be used by the write, read, and close VIs) gets trashed. So I try creating a little test VI where I use the TCP VIs all within a single block diagram and it seems to work fine as an executable. This gives me a potential solution, except that, as I indicated above, I don't know the number of bytes to read for the response to any given command and have been using the TCP Get Raw Net Object VI as part of the solution to that problem.
</p>

<p>
	I guess my question is, how can I keep the VI that opened the telnet session running (and not just in memory)? I'm content to move the TCP Open VI out to an upper-level VI (and have all read, writes, and the closing of the session handled in a subVI), but the calling VI seems to suspend as soon as a subVI starts executing. I've tried digging around in the execution settings within the VI properties, but nothing there seems to be what I'm looking for.
</p>

<p>
	Alternatively, I've considered using the VISA VIs to handle the telnet session. The only issue I have with this is that I still need to know the number of bytes to read. I think I could use my current solution provided that I can typecast from a VISA resource to a TCP connection ID (as the TCP Get Raw New Object VI expects). I've done some reading that indicates this is possible, but I haven't been able to figure out how to do it.
</p>

<p>
	I greatly appreciate any help anyone can provide with this issue.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">20295</guid><pubDate>Mon, 18 Sep 2017 20:08:06 +0000</pubDate></item><item><title>AMQP with Apache Qpid</title><link>https://lavag.org/topic/20257-amqp-with-apache-qpid/</link><description><![CDATA[<p>
	I just discovered that my latest needs-to-be-done-yesterday project requires communications via an <a href="https://qpid.apache.org/index.html" rel="external nofollow">Apache Qpid</a> broker (v0.4 and AMQP 0-10).  Since I didn't even know what <a href="https://www.amqp.org/" rel="external nofollow">AMQP</a> was before yesterday, I'm a bit behind the curve on this.
</p>

<p>
	I have downloaded <a href="http://sine.ni.com/nips/cds/view/p/lang/en/nid/211065" rel="external nofollow">LabbitMQ</a>, but I'm assuming that won't work with Apache Qpid?  I was hoping that the whole open standard thing meant that different implementations of AMQP should be able to talk with each other, but the following <a href="https://www.rabbitmq.com/interoperability.html" rel="external nofollow">link regarding interoperability between the two</a> seems to say that this often isn't the case.
</p>

<p>
	There is a <a href="https://github.com/tweeto/AMQP-Client" rel="external nofollow">Native AMQP client for LabVIEW </a> on GitHub, but it is missing all the vis (at least from what I can tell), so isn't much help.  I posted an "Issue" to the Repository, but don't know when/if I'll ever get a response.
</p>

<p>
	Any thoughts/comments/suggestions? 
</p>

<p>
	Cat
</p>
]]></description><guid isPermaLink="false">20257</guid><pubDate>Thu, 24 Aug 2017 14:10:36 +0000</pubDate></item><item><title>Network stream socket error -1967390704</title><link>https://lavag.org/topic/20252-network-stream-socket-error-1967390704/</link><description><![CDATA[<p>
	Has anyone seen Network stream socket error -1967390704?
</p>

<p>
	I see this error every now and then on various computers. LabVIEW hangs in the task bar and I have to for quit and then I have to restart the NI PSP service and everything is OK. I have a service ticket open but we're sort of running out of ideas for how to reproduce the problem or on what data we can gather when I see this error.
</p>
]]></description><guid isPermaLink="false">20252</guid><pubDate>Tue, 22 Aug 2017 18:43:06 +0000</pubDate></item><item><title>Help with AMQP protocol and CRIO</title><link>https://lavag.org/topic/20240-help-with-amqp-protocol-and-crio/</link><description><![CDATA[<p>
	Hello!
</p>

<p>
	I'm trying to use AMQP protocol to send data from a CRIO.
</p>

<p>
	I've tried using LabbitMQ and zeroMQ libraries, and when I test it from my computer (windows), it works with no problems.
</p>

<p>
	But when I try to put the code on CRIO, there's a lot of errors caused by broken wires. It looks like a .dll or .NET incompatibility.
</p>

<p>
	Is there any compatible library for CRIO or some clues about how to make it works?
</p>

<p><a href="https://lavag.org/uploads/monthly_2017_08/Error_LabbitMQ.PNG.7e3a48c19d180bb7ab39fb7e17a87f8c.PNG" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="12567" src="https://lavag.org/uploads/monthly_2017_08/Error_LabbitMQ.PNG.7e3a48c19d180bb7ab39fb7e17a87f8c.PNG" class="ipsImage ipsImage_thumbnailed" alt="Error_LabbitMQ.PNG"></a></p>]]></description><guid isPermaLink="false">20240</guid><pubDate>Wed, 09 Aug 2017 13:59:37 +0000</pubDate></item><item><title>Windows Firewall has blocked some features of this app</title><link>https://lavag.org/topic/20216-windows-firewall-has-blocked-some-features-of-this-app/</link><description><![CDATA[<p>
	I keep coming to computers and I guess the user didn't approve the exception or something because they're getting an error 56 when the app opens a TCP connection. I'm looking for ways to avoid this. Some ideas:
</p>

<ul><li>
		Autoapprove the exception as part of installation
	</li>
	<li>
		Is there a way to keep prompting them until they approve the exception or close the app
	</li>
	<li>
		Maybe a command line I can send them if they say they are seeing error 56?
	</li>
</ul>
<p><a href="https://lavag.org/uploads/monthly_2017_07/59765fbdb66ea_firewallblocked.png.f076bf0055917bc3f5c145f87c053e28.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="12539" src="https://lavag.org/uploads/monthly_2017_07/59765fbdb66ea_firewallblocked.png.f076bf0055917bc3f5c145f87c053e28.png" class="ipsImage ipsImage_thumbnailed" alt="firewall blocked.png"></a></p>]]></description><guid isPermaLink="false">20216</guid><pubDate>Mon, 24 Jul 2017 21:01:27 +0000</pubDate></item><item><title>Control a robot from Universal Robot</title><link>https://lavag.org/topic/20160-control-a-robot-from-universal-robot/</link><description><![CDATA[<p>
	I am working with a Universal Robot arm.  I believe it is a UR-5.  I was under the assumption that it could be controlled via Modbus, but I found that was incorrect.  I need to use URScript commands.  I am having a hard time getting started with this.  I was wondering if anyone has written a VI that would control the movement of one of these robot arms.
</p>

<p>
	Thanks.
</p>
]]></description><guid isPermaLink="false">20160</guid><pubDate>Fri, 02 Jun 2017 15:52:06 +0000</pubDate></item><item><title>View Executable on Web browser</title><link>https://lavag.org/topic/20124-view-executable-on-web-browser/</link><description><![CDATA[<p>
	<span>Maybe it's because it's Monday and I haven't recovered from either Cinco de Mayo (tequila) or the Kentucky Derby (bourbon) yet, but this one is twisting my little brain.</span>
</p>

<p>
	<span>After years of managing to avoid LabView and the Interwebs, somebody got the great idea of running some of my code via a web browser. Sure! I say, LabVIEW's got stuff to do that!  </span><span>Three hours later and it just ain't working right. I've read all sorts of things like:</span>
</p>

<p>
	<a href="http://zone.ni.com/reference/en-XX/help/371361M-01/lvconcepts/ws_distributing/" rel="external nofollow"><u><font color="#0000ff" size="3"><font color="#0000ff" size="3"><span>http://zone.ni.com/reference/en-XX/help/371361M-01/lvconcepts/ws_distributing/</span></font></font></u></a>
</p>

<p>
	<a href="http://zone.ni.com/reference/en-XX/help/371361L-01/lvhowto/enabling_the_web_server_in/" rel="external nofollow"><u><font color="#0000ff" size="3"><font color="#0000ff" size="3"><span>http://zone.ni.com/reference/en-XX/help/371361L-01/lvhowto/enabling_the_web_server_in/</span></font></font></u></a>
</p>

<p>
	<a href="http://zone.ni.com/reference/en-XX/help/371361M-01/lvconcepts/ws_web_server/" rel="external nofollow"><u><font color="#0000ff" size="3"><font color="#0000ff" size="3"><span>http://zone.ni.com/reference/en-XX/help/371361M-01/lvconcepts/ws_web_server/</span></font></font></u></a>
</p>

<p>
	<a href="http://zone.ni.com/reference/en-XX/help/371361M-01/lvhowto/build_web_service/" rel="external nofollow"><u><font color="#0000ff" size="3"><font color="#0000ff" size="3"><span>http://zone.ni.com/reference/en-XX/help/371361M-01/lvhowto/build_web_service/</span></font></font></u></a>
</p>

<p>
	<span style="font-size:14px;"><span>etc., etc.</span></span>
</p>

<p>
	<span style="font-size:14px;"><span>They just don't seem to be fully addressing my situation. Unfortunately there doesn't seem to be document that goes thru it all from start to finish.</span></span>
</p>

<p>
	Here's my setup:
</p>

<p>
	<span style="font-size:14px;"><span>Computer A: Running a LabVIEW application -- call it TestWeb.exe</span></span>
</p>

<p>
	<span style="font-size:14px;"><span>Computer B: Running Explorer/Chrome/Firefox. No software can be loaded or installed on this computer, including any NI software.</span></span>
</p>

<p>
	<span style="font-size:14px;"><span>Is there something I can do to be able to view/control TestWeb.exe, via a web browser, from Computer B?</span></span>
</p>

<p>
	 
</p>

<p>
	<span style="font-size:14px;"><span>I've gotten it to work wonderfully -- using source code, but even tho I think I'm doing what the various docs say, it isn't working with an executable. Are there more complete directions somewhere someone can point me to?</span></span>
</p>

<p>
	 
</p>

<p>
	<span style="font-size:14px;"><span>Cat</span></span>
</p>
]]></description><guid isPermaLink="false">20124</guid><pubDate>Mon, 08 May 2017 19:37:52 +0000</pubDate></item><item><title>Debugging interactive HTML VI</title><link>https://lavag.org/topic/19969-debugging-interactive-html-vi/</link><description><![CDATA[<p>
	The project is based on the code presented here: 
</p>
<iframe data-embedcontent="" frameborder="0" src="https://lavag.org/topic/19236-turn-your-front-panel-into-an-interactive-html5-site/?page=3&amp;do=embed"></iframe>

<p>
	There is / are bug(s) in my implementation and I may need help to get to the core issue.
</p>

<p>
	This is the VI hat I am running as seen from the remote unit (PC / tablet):
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileid="11974" href="https://lavag.org/uploads/monthly_2017_01/remote1.png.a23da31d49badbe297f8f126c5c9582a.png" rel=""><img alt="remote1.png" class="ipsImage ipsImage_thumbnailed" data-fileid="11974" src="https://lavag.org/uploads/monthly_2017_01/remote1.thumb.png.ffee5d6852a2ae9ad400bdd6bf1779fe.png"></a>
</p>

<p>
	In the above image, the controls of interest are Selected Room, Calibrate, Microphone, and the year (duration) selector.  The indicators of interest are Serial Number, Mfg Sensitivity, Calibration Data, Measured Sensitivity, the graph and the other items on the right..
</p>

<p>
	What works..  Well, when I click on Calibrate, it seems to activate it on the running VI.  But it does not update the display.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">19969</guid><pubDate>Fri, 20 Jan 2017 21:16:38 +0000</pubDate></item><item><title>Example VI to communicate with Modbus equipment</title><link>https://lavag.org/topic/12349-example-vi-to-communicate-with-modbus-equipment/</link><description><![CDATA[<p>Does someone have an example VI for communicating through Modbus with an equipment with LabVIEW?  It'll be great if you can share the code.  I tried the NI Modbus library but it did not work out, so I'm not sure what I'm missing.</p>
<p>Thank you.</p>
]]></description><guid isPermaLink="false">12349</guid><pubDate>Thu, 29 Apr 2010 14:46:00 +0000</pubDate></item><item><title>using labview to upload to sharepoint</title><link>https://lavag.org/topic/18569-using-labview-to-upload-to-sharepoint/</link><description><![CDATA[<p>I would like to use labview to upload .wav files to a specific sharepoint library.</p>
<p>with these files, I want to be able to also upload the correct metadata.</p>
<p>all of the metadata will already be loaded in the program, i just need to upload it.</p>
<p> </p>
<p>don't know if there is any topic about that on the forum already, haven't found it yet.</p>
]]></description><guid isPermaLink="false">18569</guid><pubDate>Thu, 09 Oct 2014 07:13:22 +0000</pubDate></item><item><title>Most recent Modbus Library free</title><link>https://lavag.org/topic/19948-most-recent-modbus-library-free/</link><description><![CDATA[<p>
	Hello to all.
</p>

<p>
	Thanks a lot for reading this post and being able to help.
</p>

<p>
	I would like to know what is the most recent release of modbus library for Labview. Which version?
</p>

<p>
	1.1.5.39 of this link <a href="http://forums.ni.com/t5/NI-Labs-Toolkits/LabVIEW-Modbus-API/ta-p/3524019" rel="external nofollow">http://forums.ni.com/t5/NI-Labs-Toolkits/LabVIEW-Modbus-API/ta-p/3524019</a>
</p>

<p>
	or
</p>

<p>
	1.2.1 of this link <a href="http://www.ni.com/example/29756/en/" rel="external nofollow">http://www.ni.com/example/29756/en/</a> ?
</p>

<p>
	 
</p>

<p>
	Thanks a lot!
</p>
]]></description><guid isPermaLink="false">19948</guid><pubDate>Wed, 11 Jan 2017 09:10:39 +0000</pubDate></item><item><title>Debugging why TCP disconnects</title><link>https://lavag.org/topic/19928-debugging-why-tcp-disconnects/</link><description><![CDATA[<p>
	I'm debugging an issue where the server and client communicate fine for a long period of time but suddenly the server and client stop talking. Eventually the server (LabVIEW Linux RT) starts seeing error 56 on send and then 15 minutes later, the server's read will see error 66. The client is running on windows (not programmed in LabVIEW) and we can run diagnostics like Wireshark there. It's a 1:1 connection. Is there a way to gather more info as to why a TCP connection fails? Example be able to tell if:
</p>

<p>
	Client closed connection (normal disconnect)
</p>

<p>
	Some one pulled the cable (can blame user)
</p>

<p>
	Client thread crashes (can blame client developer)
</p>
]]></description><guid isPermaLink="false">19928</guid><pubDate>Tue, 13 Dec 2016 21:26:17 +0000</pubDate></item><item><title>Fresh start with Data Dashboard</title><link>https://lavag.org/topic/19917-fresh-start-with-data-dashboard/</link><description><![CDATA[<p>
	I am unable to drag the controls from the Data Dashboard (latest version) to the panel.  I tried double clicking, dragging, clicking like a madman, and so on, and it just does not want to go to the panel.  Tried dragging after the cntrol was selected (highlighted in blue).  Tried to drag it while it was being selected (brief grey mode).  Tried dragging while it was unselected (white).  I swear I tried everything imaginable.
</p>

<p>
	I am also surprised that there is no "button" in the controls selection.  Do we need to use a shape and assign it as a button?
</p>

<p>
	Is there something better than the Data Dashboard?  I am unimpressed with it.  NI really didn't seem to get this one right (at all).  The software crashes whenever I switch from the Data Dashboard to another app and return to it.
</p>

<p>
	I need to create a small application that will allow the user to start a process remotely.  It should be really simple, but the Data Dashboard is not cooperating. 
</p>

<p>
	Using:
</p>

<p>
	Samsung Tab S2 (latest version) Model: SM-T817W
</p>

<p>
	Kernel Version:  3.10.9-8493064
</p>

<p>
	Android Version: 6.0.1
</p>

<p>
	 
</p>

<p>
	Is there other info that is needed?  I can't share code because, well there isn't any.  The only screen capture I could show at this time would be a blank white page.
</p>

<p>
	Thanks,
</p>

<p>
	RayR
</p>
]]></description><guid isPermaLink="false">19917</guid><pubDate>Fri, 09 Dec 2016 03:30:15 +0000</pubDate></item><item><title>Distributed  Hash Tables (DHT)</title><link>https://lavag.org/topic/19885-distributed-hash-tables-dht/</link><description><![CDATA[<p>
	Has anyone worked with, implemented or investigated  DHTs in LabVIEW?
</p>

<p>
	I'm particularly interested in <a href="https://en.wikipedia.org/wiki/Kademlia" rel="external nofollow">Kademlia</a>/<a href="http://doc.tm.uka.de/SKademlia_2007.pdf" rel="external nofollow">S/Kademlia</a> and <a href="https://en.wikipedia.org/wiki/Chord_(peer-to-peer)" rel="external nofollow">Chord</a> so would appreciate any input specifically about those, but any other DHTs that have been played with would be great for discussion.
</p>
]]></description><guid isPermaLink="false">19885</guid><pubDate>Thu, 10 Nov 2016 11:24:31 +0000</pubDate></item><item><title>run myrio vi from PC vi</title><link>https://lavag.org/topic/19868-run-myrio-vi-from-pc-vi/</link><description><![CDATA[<p>
	hello all,
</p>

<p>
	Firstly I am very new to labview so i apologise in advance if i ask some stupid questions.
</p>

<p>
	i am running a vi on my rio ( simple analog in/out express vi s) and another vi on my PC. i am communicating between them through shared variable and it works perfectly, only thing is i have to manually run both vi s.
</p>

<p>
	my question is, is there a simple way to start the vi on myrio from the vi on my PC? 
</p>

<p>
	PS:- i tried to work with vi server but i failed because of my limited knowledge. 
</p>

<p>
	any help will be much aprreciated.
</p>

<p>
	Thanks &amp; Regards,
</p>

<p>
	Parth
</p>
]]></description><guid isPermaLink="false">19868</guid><pubDate>Tue, 25 Oct 2016 16:10:49 +0000</pubDate></item><item><title>Visa serial comm (use event ) problem at loopback but virtual port OK</title><link>https://lavag.org/topic/19777-visa-serial-comm-use-event-problem-at-loopback-but-virtual-port-ok/</link><description><![CDATA[<p>
	I am new to Labview!
</p>

<p>
	I build a Vi to perform serial comm to test the visa info.
</p>

<p>
	First, I test this vi at virtual ports ,comm1 for serial program, comm 2 for this vi,one for transmission and one for receiving. OK!
</p>

<p>
	but when I use it at single Comm3 (Prolific USB serial port,MAX's view is OK) and loopback ,I got
</p>

<div style="width:958px;">
	Error -1073807298!
</div>

<p>
	 
</p>

<p>
	I Don't figure out what's the problem, Could Give me some advice? Thanks!
</p>

<div style="width:958px;">
	 
</div>

<p>
	 
</p>

<p><a href="https://lavag.org/uploads/monthly_2016_08/serial.jpg.6db3309719f1d2acc85abc2d3039c36f.jpg" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="11591" src="https://lavag.org/uploads/monthly_2016_08/serial.thumb.jpg.1cfc6d257dc709d141db6cc605a9afc5.jpg" class="ipsImage ipsImage_thumbnailed" alt="serial.jpg"></a></p>
<p><a class="ipsAttachLink" href="//lavag.org/applications/core/interface/file/attachment.php?id=11592">serialnew.vi</a></p>]]></description><guid isPermaLink="false">19777</guid><pubDate>Sun, 28 Aug 2016 03:44:00 +0000</pubDate></item><item><title>Creating a google calendar event</title><link>https://lavag.org/topic/19778-creating-a-google-calendar-event/</link><description><![CDATA[<p>
	Hello all,
</p>

<p>
	I am trying to create a VI that will create an event and will sync it with my google calendar.<br>
	I have looked online a lot and found nothing about this topic!
</p>

<p>
	I found some examples that would allow me to send e-mails to my gmail account, but I couldn't figure out how to create a calendar event.
</p>

<p>
	Any help/guidance will be highly appreciated!
</p>

<p>
	Thanks in advance,<br>
	Vlad 
</p>
]]></description><guid isPermaLink="false">19778</guid><pubDate>Sun, 28 Aug 2016 09:19:17 +0000</pubDate></item><item><title>Stale VI Server Connections</title><link>https://lavag.org/topic/19747-stale-vi-server-connections/</link><description><![CDATA[<p>
	I am running into an issue where my VI Server connection goes stale after a few hours.  Looking for a fast way to detect this and recover.
</p>

<p>
	Currently here is what I am doing:
</p>

<ul><li>
		On first call, open the application reference and then open the VI reference.  Cache both of these.  Use the VI reference to call the remote VI.
	</li>
	<li>
		On subsequent calls, test the cached references to verify they are still valid and then call the remote VI.
	</li>
</ul><p>
	What appears to be happening is the references still appear to be valid in the caller but the connection is broken so the remote call fails.  Then I detect this and reopen the app and VI refs and can again call the remote VI.
</p>

<p>
	The issues are:
</p>

<ul><li>
		The failing remote call takes a long time to timeout and I do not see how to control this timeout.
	</li>
	<li>
		The test of the refs does not actually test to see of the network connection is still good.
	</li>
</ul><p>
	The result is it takes a long time to recover and this is upsetting the user since it appears the system is locked up.
</p>

<p>
	What I need is a way to control the timeout of the 'call by reference' node or a way to quickly test the references to verify the network connection is still good before I attempt the remote call.
</p>

<p>
	Any ideas?
</p>

<p>
	thanks,
</p>

<p>
	-John
</p>
]]></description><guid isPermaLink="false">19747</guid><pubDate>Thu, 11 Aug 2016 18:15:25 +0000</pubDate></item><item><title>Delay in remote panel chart</title><link>https://lavag.org/topic/19671-delay-in-remote-panel-chart/</link><description><![CDATA[<p style="line-height:11.25pt;">
	<span style="color:rgb(51,51,51);font-family:Arial, 'sans-serif';font-size:9pt;">Hi,</span>
</p>

<p style="line-height:11.25pt;">
	<span style="color:rgb(51,51,51);font-family:Arial, 'sans-serif';font-size:9pt;">I am currently developing a scope that displays live data from a test rig. The scope is accessible via remote panels. Tests normally run for many hours at a time, when monitoring the scope after several hours of running I notice that the data on the chart displayed via the remote panel is not in sync with what can be seen on the actual 'server' vi. The delay also seems to be getting bigger as time goes on. I also display the current data points in an indicator; however these seem to be in sync and 'current'.</span>
</p>

<p style="line-height:11.25pt;">
	<span style="color:rgb(51,51,51);font-family:Arial, 'sans-serif';font-size:9pt;">The scope is part of a built application and I am using labVIEW 2012 f3 to develop it.</span>
</p>

<p style="line-height:11.25pt;">
	<span style="color:rgb(51,51,51);font-family:Arial, 'sans-serif';font-size:9pt;">I know that there is an issue with synchronizing front panel appearances when using remote panels in built applications but I think I have got around that by re-applying panel changes when a new client connects. Also on every execution of the VI, I defer panel updates make all my updates to controls including the chart in question, force draw the chart and then re-enable panel updates.</span>
</p>

<p style="line-height:11.25pt;">
	<span style="color:rgb(51,51,51);font-family:Arial, 'sans-serif';font-size:9pt;">I would really appreciate if anyone that has experienced this sort of issue could share a possible solution/work around.</span>
</p>

<p style="line-height:11.25pt;">
	<span style="color:rgb(51,51,51);font-family:Arial, 'sans-serif';font-size:9pt;"> </span>
</p>

<p style="line-height:11.25pt;">
	<span style="color:rgb(51,51,51);font-family:Arial, 'sans-serif';font-size:9pt;">Thanks in advance.</span>
</p>
]]></description><guid isPermaLink="false">19671</guid><pubDate>Fri, 24 Jun 2016 10:45:42 +0000</pubDate></item><item><title>Server does not support Remote panel - cRIO 9074</title><link>https://lavag.org/topic/19661-server-does-not-support-remote-panel-crio-9074/</link><description><![CDATA[<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	Dear all,<br><br>
	I am trying to test the remote panel with web server on LV2015 but it always shows "Server does not support Remote Panel". I have already researched some similar topic but still can not find out the solution for my situation.<br>
	Now I will show the software system as well as my procedure to make my project.
</p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	First is the system:
</p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	<img alt="1.jpg" border="0" src="https://lavag.org/uploads/imageproxy/892a476f8506fdbb4b5d2845008b9c50.jpeg.05ce2c70d63cf6269ef347e154dd0524.jpeg" style="border:0px;vertical-align:middle;margin-bottom:0px;padding-right:6px;" title="1.jpg"></p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	<img alt="2.jpg" border="0" src="https://lavag.org/uploads/imageproxy/af8c4f8958d8b3f338aa8323c73dcd13.jpeg.065cb90c560da5e7080005ab7c1f000f.jpeg" style="border:0px;vertical-align:middle;margin-bottom:0px;padding-right:6px;" title="2.jpg"></p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	<img alt="14.jpg" border="0" src="https://lavag.org/uploads/imageproxy/9249b83f6f344fcc3031457b88e41333.jpeg.baf14d5c0a21973dd86360ef5dff682e.jpeg" style="border:0px;vertical-align:middle;margin-bottom:0px;padding-right:6px;" title="14.jpg"></p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	<img alt="15.jpg" border="0" src="https://lavag.org/uploads/imageproxy/a4bc5f918f66cfea53e3e37cda793fa9.jpeg.1864e9a12205e33a61086b2ff515e6ec.jpeg" style="border:0px;vertical-align:middle;margin-bottom:0px;padding-right:6px;" title="15.jpg"></p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	 
</p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	 
</p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	 
</p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	Now I shows my steps
</p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	 <img alt="5.jpg" border="0" src="https://lavag.org/uploads/imageproxy/b1b7b9055b6d4ea82c3a6b8f60ed0ac2.jpeg.2556e77451705dfffb5d96af8f73dfeb.jpeg" style="border:0px;vertical-align:middle;margin-bottom:0px;padding-right:6px;" title="5.jpg"></p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	<img alt="6.jpg" border="0" src="https://lavag.org/uploads/imageproxy/be5f7b945eeed5339f58acefba0535ba.jpeg.6b08a28b838798efc98d17d6bc5b9211.jpeg" style="border:0px;vertical-align:middle;margin-bottom:0px;padding-right:6px;" title="6.jpg"></p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	<img alt="7.jpg" border="0" src="https://lavag.org/uploads/imageproxy/07eb8e6c4ea984fd4a4cdd0f8cfc070b.jpeg.b777d009af68c3451357b04488f4d6c2.jpeg" style="border:0px;vertical-align:middle;margin-bottom:0px;padding-right:6px;" title="7.jpg"></p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	 <img alt="8.jpg" border="0" src="https://lavag.org/uploads/imageproxy/48a7c2eb9e000dcbd44792cfc7b0a688.jpeg.4885d476301ad646f6e4d677fe49f231.jpeg" style="border:0px;vertical-align:middle;margin-bottom:0px;padding-right:6px;" title="8.jpg"></p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	 
</p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	 
</p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	<img class="ipsImage" src="https://lavag.org/uploads/imageproxy/Y31VKqS.jpg.b87c2b55e48f9402640a9e136767ff4b.jpg" alt="Y31VKqS.jpg"></p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	 
</p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	<img alt="10.jpg" border="0" src="https://lavag.org/uploads/imageproxy/b27fc407c59eab4d8d89a4d1b2303687.jpeg.08882ddf94aa6bdc5825c152073c64be.jpeg" style="border:0px;vertical-align:middle;margin-bottom:0px;padding-right:6px;" title="10.jpg"></p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	<img alt="11.jpg" border="0" src="https://lavag.org/uploads/imageproxy/cc304a29932a468ba864d3c7486eae74.jpeg.a6ee5060998eaed9d25715e68ff5af7a.jpeg" style="border:0px;vertical-align:middle;margin-bottom:0px;padding-right:6px;" title="11.jpg"></p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	<img alt="12.jpg" border="0" src="https://lavag.org/uploads/imageproxy/c6acbf935565eb603ce8a53946732b38.jpeg.164594b4fb02add283ddcbab8decc5c3.jpeg" style="border:0px;vertical-align:middle;margin-bottom:0px;padding-right:6px;" title="12.jpg"></p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	 
</p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	And this is the disappointed result
</p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	 
</p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	<img alt="13.jpg" border="0" src="https://lavag.org/uploads/imageproxy/ba342c87aee442aaef7140532430dfe5.jpeg.aa6715becc2f8686d081b90b9d663bce.jpeg" style="border:0px;vertical-align:middle;margin-bottom:0px;padding-right:6px;" title="13.jpg"></p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	 
</p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	 
</p>

<p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:15px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);">
	I am doing the thesis with this. so I need your help urgently :'( <br><br>
	Thank you in advance
</p>
]]></description><guid isPermaLink="false">19661</guid><pubDate>Tue, 21 Jun 2016 05:26:08 +0000</pubDate></item><item><title>Dealing with multiple DNS entries</title><link>https://lavag.org/topic/19627-dealing-with-multiple-dns-entries/</link><description><![CDATA[<p>
	I have run into an issue with the Open Application Instance function and multiple DNS entries.  I have two applications that I need to communicate across a network.  Sometimes one of them is running on a machine connected via VPN.  When that happens, the DNS entry for the machine contains both the local IP on the home network and the IP assigned by the VPN on the office network.  If I try to lookup the remote machine name from an internal machine on the office network, I get back both IPs.  And the order they are returned can change and is random.
</p>

<p>
	The problem comes in when I try to open a connection to the remote machine by name using the Open Application Instance function.  It will try to resolve the name to an IP internally and then connect.  But if the DNS give it the local (home) IP first then it will fail to connect since that IP is not part of the office network.  If it give it the VPN IP first then it will work.  The problem is I have no control over which IP it will see.  And apparently it does not try all of them, only the first one.
</p>

<p>
	Does anyone know if there is a way to control this?  I need to have it give me the local (LAN) IP if there is no VPN connection and the VPN IP if there are two IPs.  And I need it to be deterministic, not random.
</p>

<p>
	 
</p>

<p>
	thanks for any ideas,
</p>

<p>
	-John
</p>
]]></description><guid isPermaLink="false">19627</guid><pubDate>Fri, 27 May 2016 21:50:51 +0000</pubDate></item><item><title>UDP not working the first time I launch the program in cRIO</title><link>https://lavag.org/topic/19626-udp-not-working-the-first-time-i-launch-the-program-in-crio/</link><description><![CDATA[<p>
	Hi everyone,
</p>

<p>
	I am perceiving some strange behavior in my UDP connections. Every time I re-start my cRIO 9063, the UDP Write block outputs ERROR 66 (LabVIEW:  The network connection was closed by the peer. If you are using the Open VI Reference function on a remote VI Server connection, verify that the machine is allowed access by selecting Tools&gt;&gt;Options&gt;&gt;VI Server on the server side.) and it does not transmit. 
</p>

<p>
	The most bizarre thing is that if I simply stop the execution and re-launch it again (given that I am executing the code of the cRIO in Debug mode from a Windows laptop), the UDP connection behaves perfectly well. The only time it fails is the first time I launch the program after I reset the cRIO. For me, it looks like some service is not properly initialized when the cRIO is started.
</p>

<p>
	I attach a picture with the UDP connections of my LabVIEW RT program. The 'Comms RX' VI simply calls the 'UDP Read' function, and the 'Comms TX' calls the 'UDP Write'. The 'Open UDP Conn' also simply calls 'UDP Open'. 
</p>

<p>
	Can anyone help me?
</p>

<p><a href="https://lavag.org/uploads/monthly_2016_05/UDP.PNG.c77a8d992a3df78e36adece1ec6ae058.PNG" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="11280" src="https://lavag.org/uploads/monthly_2016_05/UDP.PNG.c77a8d992a3df78e36adece1ec6ae058.PNG" class="ipsImage ipsImage_thumbnailed" alt="UDP.PNG"></a></p>]]></description><guid isPermaLink="false">19626</guid><pubDate>Mon, 23 May 2016 06:54:10 +0000</pubDate></item><item><title>OPC UA</title><link>https://lavag.org/topic/19238-opc-ua/</link><description><![CDATA[<p>Hi there,</p>
<p> </p>
<p>Has anybody used the OPC UA client that is part of the DSC toolkit? I am trying to use it to connect to a PLC and am getting error <strong>-336653 "The status of the OPC UA server is uncertain"</strong></p>
<p> </p>
<p>I am able to create a local OPC UA server in LabVIEW and connect to this with no issues from the LabVIEW OPC UA client, and can connect to the PLC just fine using a different client.</p>
<p> </p>
<p>After speaking with NI it looks like this may be a permission issue, but I have tried all the obvious things in the OPC UA client (like client and server certificates), with the same result.</p>
<p> </p>
<p>Any tips?</p>
<p> </p>
<p>Crossposted </p>
<p><a href="http://forums.ni.com/t5/LabVIEW/OPC-UA-client-cannot-connect-to-PLC/td-p/3195246" rel="external nofollow">http://forums.ni.com/t5/LabVIEW/OPC-UA-client-cannot-connect-to-PLC/td-p/3195246</a></p>
]]></description><guid isPermaLink="false">19238</guid><pubDate>Wed, 23 Sep 2015 08:27:00 +0000</pubDate></item><item><title>LabView Security(Encrypt vi,Decrypt vi)</title><link>https://lavag.org/topic/19549-labview-securityencrypt-videcrypt-vi/</link><description><![CDATA[<p>Hi guys, i tryin connect to labview web serv through java application, and have some troubles.</p>
<p>I already readed this:<br><a href="http://muree.psut.edu.jo/Documents/DEV4.2-Services%20Adaptation%20to%20Connect%20Remote%20Labs%20to%20VLE-Securing%20WS%20in%20LabVIEW.pdf" rel="external nofollow">http://muree.psut.edu.jo/Documents/DEV4.2-Services%20Adaptation%20to%20Connect%20Remote%20Labs%20to%20VLE-Securing%20WS%20in%20LabVIEW.pdf</a><br><br><a href="http://www.ni.com/white-paper/7749/en/" rel="external nofollow">http://www.ni.com/white-paper/7749/en/</a><br><br>How i must encrypt my body through java? What happened with data when they go to Encrypt Vi?</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_04_2016/post-54590-0-67734800-1459951339.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_04_2016/post-54590-0-67734800-1459951339.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=11120" class="ipsImage ipsImage_thumbnailed" alt="post-54590-0-67734800-1459951339.png"></a><br><br><br>Thx for ur help</p>
]]></description><guid isPermaLink="false">19549</guid><pubDate>Wed, 06 Apr 2016 14:04:52 +0000</pubDate></item><item><title>help for useing SNMP in labview</title><link>https://lavag.org/topic/9682-help-for-useing-snmp-in-labview/</link><description><![CDATA[<p>Hi, hello!</p>
<p>I have one devie which is used for monitoring the water leaking in my project. But the data of this device is only monitored in web browser, which is not compatible with our software frame of labview. The vendor of this device only provides the MIB file of SNMP protocol. If I want to integrate DAQ system of this device in our software frame of labview, are there good ways? Or who sends me the free SNMP Toolkit of labview?</p>
<p>My E-mail is <a href="mailto:zyh7148@yahoo.com.cn" rel="external nofollow">zyh7148@yahoo.com.cn</a></p>
<p>Thank you!</p>
<p></p>
]]></description><guid isPermaLink="false">9682</guid><pubDate>Sun, 15 Mar 2009 07:26:24 +0000</pubDate></item><item><title>LabVIEW Network Library to support SSL, Ping and IPv6</title><link>https://lavag.org/topic/12346-labview-network-library-to-support-ssl-ping-and-ipv6/</link><description><![CDATA[<p>I have in the past few months steadily worked on a network library for LabVIEW with following features:</p>
<p>- Be as close as possible to the functionality, operation and semantics of the built in LabVIEW library</p>
<p>- Support IPv6 operation</p>
<p>- Support SSL encryption</p>
<p>- Support ping operation right in LabVIEW (through use of raw sockets)</p>
<p>- and of course be better than the built in functions <img src="https://lavag.org/uploads/emoticons/default_wink.png" alt=";)"></p>
<p>The included library does most of these things already but will need some more work over the next few months to fully have all these features. As such it is clearly in a preliminary state and not yet ready for released software. Please be adviced that this library will cease to operate after end of June because I expect to have new releases out there before that time.</p>
<p>In spite of the preliminary state it does work and does do already quite a few things and it even implements the LabVIEW TCP read modes exactly as the native functions.</p>
<p>I have included an OpenG package of the library. To install it you best use the <a href="http://jkisoft.com/vipm/" rel="external nofollow">VIPM</a> application from JKI Software as it will take care to place everything where it should be.</p>
<p>Due to some features I'm using it will be necessary to restart LabVIEW after installation of this library in order for the library to work properly.</p>
<p>When installed you should see a new ESI-CIT logo in the main function palette and in there a network icon. In that network palette are all the new and exciting functions. The functions have for a large part already some online help information inside, which you can see by opening the floating help and hovering over the icons or front panel control elements.</p>
<p>I'm working on an online help file to install along with the library but it is not yet finished. This help will also outline some of the more low level operations which at the moment may appear a bit obscure.</p>
<p>This release is only for Windows 32 Bit systems. Sorry to the Linux and Macintosh users but porting such a library is a true pain in the a** and especially for the Macintosh I'm not yet sure how to go about it, as there are several ways to skin that cat</p>
<p>The library will work in LabVIEW 7.1 and newer versions.</p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=2169" data-fileid="2169" rel="">readme.txt</a></p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=2170" data-fileid="2170" rel="">citlib_lvNetCon-0.9-1.ogp</a></p>
]]></description><guid isPermaLink="false">12346</guid><pubDate>Thu, 29 Apr 2010 11:03:58 +0000</pubDate></item><item><title>Public Content for Web Services</title><link>https://lavag.org/topic/18874-public-content-for-web-services/</link><description><![CDATA[<p>Hi All,</p>
<p> </p>
<p>Can anybody shed some light on some strange behaviour I am seeing when deploying an executable with Web Services and Public Content.</p>
<p> </p>
<p>I have an HTML page that gets served up as part of my application. My LabVIEW application interacts with a browser via Web Services.</p>
<p> </p>
<p>Everything runs (mostly) fine, I can browse to localhost/ws/index.html and I get my web page.</p>
<p> </p>
<p>However, I would have expected that HTML (and JavaScript etc) would remain on disk in source form so I could edit it after the LabVIEW application has been built, but this does not appear to be the case. Changes I make to the source do not get reflected until I rebuild my LabVIEW application.</p>
<p><em>Does the Public Content in the Web Service get packaged into either the .exe or the .lvws up as part of the build process?</em></p>
<p> </p>
<p>I am really perplexed by this. I have tried all the obvious things like clearing browser caches etc. I even tried using a brand spanking new browser that had never been installed on my PC and I got the same symptoms.</p>
]]></description><guid isPermaLink="false">18874</guid><pubDate>Thu, 12 Mar 2015 15:28:16 +0000</pubDate></item><item><title>How to send an email automatically when warning light triggers</title><link>https://lavag.org/topic/19398-how-to-send-an-email-automatically-when-warning-light-triggers/</link><description><![CDATA[<p>Hello,</p>
<p> </p>
<p>I am making a basic programme for fall detection for the elderly. Right now, face detection is employed to identify a face, and should it fall below a certain level which can be adjusted, a warning light triggers. Using the smtp email example in labview, i have gotten the thing to send an email.</p>
<p> </p>
<p>However, what i want is an automated sending of email when the warning light triggers and when it has been lighted up for say a min or something like that. Here is how my programme looks like so far:</p>
<p> </p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_01_2016/post-54361-0-97902700-1452585967.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_01_2016/post-54361-0-97902700-1452585967.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=10910" class="ipsImage ipsImage_thumbnailed" alt="post-54361-0-97902700-1452585967.png"></a></p>
<p> </p>
<p>The specific section of the email part in question:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_01_2016/post-54361-0-99646500-1452586353.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_01_2016/post-54361-0-99646500-1452586353.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=10911" class="ipsImage ipsImage_thumbnailed" alt="post-54361-0-99646500-1452586353.png"></a></p>
<p> </p>
<p> </p>
<p>Any ideas?</p>
]]></description><guid isPermaLink="false">19398</guid><pubDate>Tue, 12 Jan 2016 08:06:34 +0000</pubDate></item><item><title>Client-Server network message transport options</title><link>https://lavag.org/topic/19339-client-server-network-message-transport-options/</link><description><![CDATA[<p>I have run into a bit of a problem with how I am trying to do networked messaging between a client and a server application.  I am considering trying Network Streams as a solution but wanted to see if anyone has had success (or failure) with this solution or has a better idea.</p>
<p> </p>
<p>First, a little background on the application:</p>
<p>In my system, there are N servers running on the network.  Each of these is running on it's own VM with a static IP and unique machine name.</p>
<p>There are also N clients.  These are running on physical machines, VMs and a Windows RDS (Remote Desktop Server).</p>
<p>The messages are all abstract class objects.  Both client and server have a copy of the abstract classes so they can send/receive any of the messages.</p>
<p>My current solution is to use VI Server to push messages from one application to the other.  There is no polling.</p>
<p>Clients and servers can go offline at anytime without warning and the application at the other end of the connection must deal with the disconnect gracefully.</p>
<p>In normal operation, the client will establish connection to a group of servers (controlled by the user).  The client provides it's machine name and VI Server port.  Each server then connects back to the client.  All messages then pass via these connections.</p>
<p>Therefore, a client is uniquely identified to the server by its network machine name.</p>
<p> </p>
<p>Now the problem.  A Windows RDS session does not have a unique machine name.  Instead it uses the machine name of the RDS.  So, if two users run the client application in two separate RDS sessions at the same time, when they connect to the servers, they will look like the same machine.  There is no way to uniquely identify them and route messages to the correct one.</p>
<p> </p>
<p>So, I have started looking at network streams as a possible solution.  They looked interesting because you could add a unique identifier to the URL so you could have more than one endpoint on a single machine.  This looked like it would solve my problem because I could combine the machine name and user name to make my client endpoint unique.  But here is the process I would need to follow:</p>
<ul><li>Server creates an endpoint to listen for client connections.</li>
<li>Client gets the list of server names (from a central DB) and then tries to connect to each server's endpoint.</li>
<li>If successful, the client creates a unique reader endpoint for that server and then passes the server the information about how to connect to this endpoint.</li>
<li>When the server connects to this endpoint, it also creates a unique reader for the client and sends that info.</li>
<li>The client connects to the server using this unique endpoint and we now have two unique network streams setup between client and server, one in each direction.</li>
<li>The client then disconnects from the first server endpoint since it now has its own unique connection.</li>
<li>Both ends will need to have some sort of loop that waits for messages (flattened class objects) and then puts them into the proper local queue for execution within their application.</li>
<li>Both will also need to be able to send a shutdown message to each of these loops when exiting to close the connection.</li>
</ul><p>My concerns are how to have the server listen for connections with its generic endpoint to multiple clients at once.  There is no guarantee that only one client will try to connect at a time.  And once the client is fully connected and releases the generic connection, will the server be able to listen for more connections or will that endpoint be broken?  How do I reinitialize it?</p>
<p> </p>
<p>This is all so much easier with VI Server that I might have to just give up on the RDS solution altogether.  But I want to give this my best shot before I do that.</p>
<p> </p>
<p>Thanks for any tips or ideas or pointing out any pitfalls I missed.</p>
<p> </p>
<p>-John</p>
]]></description><guid isPermaLink="false">19339</guid><pubDate>Tue, 17 Nov 2015 02:47:31 +0000</pubDate></item><item><title>Directing TCP Open</title><link>https://lavag.org/topic/19285-directing-tcp-open/</link><description><![CDATA[<p><span>Is there some way to tell LabVIEW to open a TCP connection from a specific IP address (or NIC) on the client computer -- something like the "net address" field in "TCP Create Listener" on the server side?</span></p>
<p> </p>
<p><span>Cat</span></p>
]]></description><guid isPermaLink="false">19285</guid><pubDate>Tue, 20 Oct 2015 19:08:55 +0000</pubDate></item><item><title>Switch on and off a weight scale</title><link>https://lavag.org/topic/19292-switch-on-and-off-a-weight-scale/</link><description><![CDATA[<p>Hi all. I need to create a laview program to on and off a weight scale. If the switch button is pressed, it will increase its current output to 5V. And if the switch button is off, it will go to 0V.</p>
<p>Hope to hear you guys soon. Thank you.</p>
]]></description><guid isPermaLink="false">19292</guid><pubDate>Mon, 26 Oct 2015 09:04:25 +0000</pubDate></item><item><title>LabVIEWHTTPClient.lvlib - PATCH Method</title><link>https://lavag.org/topic/19273-labviewhttpclientlvlib-patch-method/</link><description><![CDATA[<p>I'm trying to use the LabVIEWHTTPClient.lvlib functions to communicate with Salesforce.com</p>
<p> </p>
<p>I can authenticate, but my Salesforce IT guy tells me that Salesforce uses a concept called "upsert". It's update and insert combined; but I need to use the PATCH Method instead of a PUT or POST method.</p>
<p> </p>
<p>I can't seem to find any reference to the PATCH method.</p>
<p> </p>
<p>I believe the LabVIEW library uses curl under the hood.</p>
<p> </p>
<p>Anyone have any ideas?</p>
<p> </p>
<p> </p>
<p style="margin-left:40px;"><strong><span style="font-family:'courier new', courier, monospace;">HEADER:</span></strong></p>
<div style="margin-left:40px;"><span style="font-family:'courier new', courier, monospace;">HTTP/1.1 405 Method Not Allowed</span></div>
<div style="margin-left:40px;"><span style="font-family:'courier new', courier, monospace;">Date: Fri, 16 Oct 2015 19:20:35 GMT</span></div>
<div style="margin-left:40px;"><span style="font-family:'courier new', courier, monospace;">Sforce-Limit-Info: api-usage=36839/7918000</span></div>
<div style="margin-left:40px;"><span style="font-family:'courier new', courier, monospace;">Allow: GET,HEAD,PATCH,DELETE</span></div>
<div style="margin-left:40px;"><span style="font-family:'courier new', courier, monospace;">Content-Type: application/json;charset=UTF-8</span></div>
<div style="margin-left:40px;"><span style="font-family:'courier new', courier, monospace;">Transfer-Encoding: chunked</span></div>
<div style="margin-left:40px;"> </div>
<p style="margin-left:40px;"><span style="font-family:'courier new', courier, monospace;"><strong>BODY:</strong></span></p>
<p style="margin-left:40px;"><span style="font-family:'courier new', courier, monospace;">[{"errorCode":"METHOD_NOT_ALLOWED","message":"HTTP Method 'POST' not allowed. Allowed are GET,HEAD,PATCH,DELETE"}]</span></p>
<p style="margin-left:40px;"> </p>
]]></description><guid isPermaLink="false">19273</guid><pubDate>Fri, 16 Oct 2015 19:22:43 +0000</pubDate></item><item><title>dynamic content in other web servers</title><link>https://lavag.org/topic/19260-dynamic-content-in-other-web-servers/</link><description><![CDATA[<div>I've occasionally seen or heard from people wondering about hosting labview web services in other servers, like apache, microsoft IIS, or nginx.  They may already have a server they just want to plug into, or maybe they want to use some of the more advanced features available in other servers -- for example LDAP/activedirectory authentication (<a href="http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html" rel="external nofollow">http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html</a>). However dynamic content still needs to be provided somehow, from LabVIEW. I've never really done too much with web services and I was curious how this stuff works in other languages. I'm fairly certain I'm 'rediscovering' some of this, but I couldn't find what I was looking for anywhere in labview-land....so I thought I'd share what I found out and what I did about it in case anyone else was curious about the same. </div>
<br><div> </div>
<br><div>What seems to be the case is that when people using other languages want to add code to the back end of a web server, they have a few basic options:</div>
<br><ul><li>Compile code into the web server. This option is more difficult to reuse, as you're making a plugin for a particular server, but some servers can use plugins for other servers.<br><ul><li>Apache has modules, for example mod_perl which is basically a dll which runs perl.<br></li>
<li>IIS can run all sorts of .net code and scripts<br></li>
<li>I *think* this is what LabVIEW has done for its web service, but can't confirm.<br></li>
</ul><br></li>
<li>Use a protocol between the front-end web server and the back-end application.<br><ul><li>The simplest version is <em>CGI </em>-- the web server runs an exe, passes any post data as standard in, and waits for data on standard out or standard error. This is slooooow as it runs an exe every time.<br></li>
<li>This was improved with <em>FastCGI </em>where the web server launches N copies of the exe on boot and then leaves them running. These EXEs are sent packets which correspond to the CGI standard in data and respond with standard out and/or standard error packets. These packets can be sent through standard I/O (which is tough with <abbr title="LabVIEW">lv</abbr>) or through TCP (which is easy).<br></li>
<li>Some people use a simpler HTTP server running in their program as the back-end. It can be simpler and less robust than, say, apache because in theory you're only getting well-formed packets from the front-end http server.<br><ul><li>Compared to FastCGI this can be even faster because the HTTP request doesn't have to be re-packaged into an FCGI request, but HTTP is single-threaded (for lack of a better term -- requests must be responded to in the order they were received). The other advantage is you can use a web browser or other http client to talk directly to the simple http server, which you can't do with FCGI (for debugging purposes). This is essentially a <a href="https://en.wikipedia.org/wiki/Reverse_proxy" rel="external nofollow">https://en.wikipedia.org/wiki/Reverse_proxy</a><br></li></ul><br></li>
<li>There are some custom protocols used like WSGI which seems to be python-only, or things like java applets.<br></li>
</ul><br></li>
</ul><div> </div>
<br><div>The point is, its pretty common to let something big and complicated like apache take care of the incoming requests on port 80 while letting one or more back-end servers handle specific requests as needed.</div>
<br><div> </div>
<br><div>This could handled by the standard labview web services (ie Apache reverse-proxies to the standard labview web service) but I was still interested in how this stuff works so I made some (rough) code, which I've posted here, a few weeks back:</div>
<br><div><a href="https://github.com/smithed/LVWebTools" rel="external nofollow">https://github.com/smithed/LVWebTools</a></div>
<br><div> </div>
<br><div>
<strong>tl;dr</strong>: Built, monolithic web-service-code like what labview does seems to be pretty uncommon. Most (citation needed) languages seem to just use a protocol between the main, very separate web server responsible for authentication, security, and static file serving and the tiny backend exe responsible for everything else. I made some neat tools to do this, in LabVIEW. Also, the internet really <em>is</em> just a series of tubes.</div>
<br><div> </div>
<br><div> </div>
<br><div>
<br><div>-----------------------------------------------------------------------------------------------------------</div>
<br><div> </div>
<br></div>
<br><div><u>Note: the following is really into some of the weeds, if you don't want to try the code stop here.</u></div>
<br><div> </div>
<br><div>I started with <em>FastCGI</em> because it seemed simpler...but it turned out not to be. You're still responsible for adding most of the headers and response codes and such into your response, so it <em>seemed</em> like it had less structure but that structure was actually necessary anyway most of the time.</div>
<br><div> </div>
<br><div>If you want to take a look at it, FCGI/FCGI server.vi is the main VI and FCGI/default responder action.vi is the main VI I was using to test out different responses. With apache, you'd set it up using mod_proxy and mod_proxy_fcgi, but I'd actually recommend a new web server called Caddy (<a href="http://caddyserver.com/" rel="external nofollow">http://caddyserver.com/</a>) because it is more developer friendly. The "caddyfile" you'd need would be as follows:</div>
<br><div>"0.0.0.0:80</div>
<br><div>fastcgi /lvroot 127.0.0.1:9000"</div>
<br><div>(adjusting the ports and such as needed of course). If you run the caddy server with that file, and then navigate to <a href="http://localhost/lvroot/anything" rel="external nofollow">http://localhost/lvroot/anything</a> it will invoke the labview code. With fastcgi, you manually add any headers you need to the top of the response, so as an example you'd have to write:</div>
<br><div>"Content-Type: text/html</div>
<br><div> </div>
<br><div>&lt;http&gt;&lt;body&gt;blah&lt;/body&gt;&lt;/http&gt;"</div>
<br><div> </div>
<br><div>After that I decided to try out http, which I quickly learned was a really gross protocol. The core of it is nice and simple, but the issue to me is that the transport-related headers are mixed in with content-related headers, and oh by the way you can shove extra headers in the content section if you want to, oh and hey if you want to change protocols in the middle of operation thats supported too. Its weird. But I got a verrrrry basic server loop up and running and its located in http/http server.vi. This one I actually used for something (the Freeboard thing I mentioned in this thread: <a href="https://lavag.org/topic/19254-interactive-webpage-vi-options/" rel="">https://lavag.org/topic/19254-interactive-webpage-vi-options/</a>) so I made a basic class to inject some behavior. That class is located in <a href="http/http" rel="external nofollow">http/http</a> responder and provides the "get.vi", "post.vi", "put.vi", and "delete.vi" you'd expect. Since I was 90% of the way there anyway, I added a protocol upgrade function in order to pass functionality off to (for example) a websocket handler. This was totally not worth it (the code got more complex), but its cool that it works.</div>
<br><div> </div>
<br><div>As above, I'd recommend caddy server and the appropriate line you'd want to add to your file is </div>
<br><div>"proxy /lvhttp localhost:9001"</div>
<br><div>Because HTTP allows sending partial results, my implementation uses a queue to send data back...I think most of the fields are pretty obvious, except to note that the headers field is a variant attribute look up table with a string/string implementation (header/value). If a response code isn't specified, 200 is assumed.</div>
<br><div> </div>
<br><div>Side note: Because I have a giant NI next to my name I feel the need to note that this is just a fun project, not intended in any way to replace the fully-supported in-product server which includes all the fancy things like authentication, URL routing, etc. My thought was that this could be handy for making really stupidly simple services that plug into big ones *already running* in apache, nginx, or IIS.</div>
<br>]]></description><guid isPermaLink="false">19260</guid><pubDate>Fri, 09 Oct 2015 01:10:58 +0000</pubDate></item><item><title>IE crashes when opening remote panel</title><link>https://lavag.org/topic/19258-ie-crashes-when-opening-remote-panel/</link><description><![CDATA[<p>I'm trying to open a remote panel in Internet Explorer from a cRIO-9014 running Labview 2014.  Whenever I try to connect, the panel begins to open then IE crashes (see attached image).  I have tried using Firefox and I get a message "plugin needed" but I have the latest plugin installed.</p>
<p> </p>
<p>Any ideas how to get either browser to work for remote panels?  I'm at the end of my rope with this one. </p>
<br><p>Also - I have tried from 2 different computers on the network with the same results so I assume it is a problem with my real time web server configuration?</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_10_2015/post-5331-0-00520200-1444244953.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_10_2015/post-5331-0-00520200-1444244953.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=10694" class="ipsImage ipsImage_thumbnailed" alt="post-5331-0-00520200-1444244953.png"></a></p>
]]></description><guid isPermaLink="false">19258</guid><pubDate>Wed, 07 Oct 2015 19:10:06 +0000</pubDate></item><item><title>LabVIEW IE plugin blocked following latest Win 7 update</title><link>https://lavag.org/topic/19216-labview-ie-plugin-blocked-following-latest-win-7-update/</link><description><![CDATA[<p>We have a LabVIEW 2014 SP1 RT system here that we need to access remotely, and have been using IE11 with no issues for the last year or so.  A recent Windows 7 update over the holiday weekend busted the LV2014ActiveXcontrol.dll plugin.  It comes up as "Not Verified" (see pic).  You can see from the info dialog that IE is blocking it (17 attempted uses were blocked).  We tried running regsvr32 from an admin command prompt with no effect.  Has anyone else seen this issue?  A LV2012 version of the plugin comes up as "verified".  Did the latest Win 7 update block unverified plugins?  Our Windows updates are rolled out by the IT department as a group policy, and we are unable to roll them back.  If anyone has a solution to this problem, we would appreciate knowing what it it.  Thanks.</p>
<p> </p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_09_2015/post-17965-0-52370200-1441802678.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_09_2015/post-17965-0-52370200-1441802678.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=10653" class="ipsImage ipsImage_thumbnailed" alt="post-17965-0-52370200-1441802678.png"></a></p>
]]></description><guid isPermaLink="false">19216</guid><pubDate>Wed, 09 Sep 2015 12:46:00 +0000</pubDate></item><item><title>How can I share labview vi with android devices</title><link>https://lavag.org/topic/18882-how-can-i-share-labview-vi-with-android-devices/</link><description><![CDATA[<p>How can I share labview vi with android devices via wireless or other way</p>
<p>like this</p>
<p> </p>
<p><img src="http://www.dbaasco.com/vb/attachment.php?attachmentid=2611&amp;stc=1&amp;d=1426524613" alt="attachment.php?attachmentid=2611&amp;stc=1&amp;d"></p>
]]></description><guid isPermaLink="false">18882</guid><pubDate>Mon, 16 Mar 2015 17:59:01 +0000</pubDate></item><item><title>Import Web Services</title><link>https://lavag.org/topic/19220-import-web-services/</link><description><![CDATA[<p>I was wondering if anyone knew how this tool works its magic.  I would like to investigate if it may be possible to modify the tool to work with WADL web services rather than the older WSDL Soap Services currently implemented.  I looked around and could not find any NI vi's associated with this tool.</p>]]></description><guid isPermaLink="false">19220</guid><pubDate>Fri, 11 Sep 2015 13:25:52 +0000</pubDate></item><item><title>Take the control of your NI LabVIEW application with an iPad or iPhone</title><link>https://lavag.org/topic/18890-take-the-control-of-your-ni-labview-application-with-an-ipad-or-iphone/</link><description><![CDATA[<p><span style="font-family:'comic sans ms', cursive;"><strong>Wezarp</strong><span> allows a software application to be controlled by a remote device such as a tablet, a smartphone or a computer.</span></span></p>
<p> </p>
<p><span style="font-family:'comic sans ms', cursive;"><span style="font-size:13px;">The first release of our website<a href="http://www.wezarp.com" rel="external nofollow"> </a></span><a href="http://www.wezarp.com/" rel="external nofollow">www.wezarp.com</a><span style="font-size:13px;"> is now online !!! Wezarp for NI LabVIEW is available... Don't hesitate to download and try the 30-day free trial version !ï»¿</span></span></p>
<p> </p>
<p><span style="font-size:13px;">Here is a <a href="https://www.youtube.com/watch?v=ZwQs6_qkK5U" rel="external nofollow">video demonstration on how to use Wezarp with NI LabVIEW</a></span></p>
<p> </p>
<p> </p>
<p> </p>
]]></description><guid isPermaLink="false">18890</guid><pubDate>Thu, 19 Mar 2015 17:31:54 +0000</pubDate></item><item><title>How can I write in a Google Sheet inside google drive?</title><link>https://lavag.org/topic/19195-how-can-i-write-in-a-google-sheet-inside-google-drive/</link><description><![CDATA[<p>Someone can help me with this topic?</p>
<p>I tried to use some old  examples using .net (google API) but not run.</p>
<p>I think that google change API version and the examples not run.</p>
<p> </p>
<p>Tanks</p>
]]></description><guid isPermaLink="false">19195</guid><pubDate>Thu, 27 Aug 2015 20:55:32 +0000</pubDate></item><item><title>webserver on cRIO 9068</title><link>https://lavag.org/topic/18873-webserver-on-crio-9068/</link><description><![CDATA[<p>Hi, this may be a stupid question, but I'm trying to host a thinclient on my cRIO 9068 and thus want to display some html/javascript from the cRIO itself.</p>
<p> </p>
<p>I couldn't find the folder where I could do these things in the file structure of the 9068. Has anyone had any experience regarding this?</p>
]]></description><guid isPermaLink="false">18873</guid><pubDate>Wed, 11 Mar 2015 14:52:59 +0000</pubDate></item><item><title>problem with HTTP, cookies and external web services(RESTful)</title><link>https://lavag.org/topic/18828-problem-with-http-cookies-and-external-web-servicesrestful/</link><description><![CDATA[<p style="margin:0cm;"><span style="font-size:10.5pt;font-family:Arial, sans-serif;">Hello</span></p>
<p style="margin:0cm 0cm .0001pt;"><span style="font-size:10.5pt;font-family:Arial, sans-serif;"> </span></p>
<p style="margin:0cm 0cm .0001pt;"><span style="font-size:10.5pt;font-family:Arial, sans-serif;">I have a problem with http VIâ€™s and external web services (RESTful) and Iâ€™m using LabVIEW 2013.</span></p>
<p style="margin:0cm 0cm .0001pt;"><span style="font-size:10.5pt;font-family:Arial, sans-serif;"> </span></p>
<p style="margin:0cm 0cm .0001pt;"><span style="font-size:10.5pt;font-family:Arial, sans-serif;">In NetBeans I create a project with a GET web service from a table in MySQL, so I use http VIâ€™s for accessing the service (blog diagram .png), receiving the information in JSON (front panel.png) and took the information I needed (in this case the â€œslActualValueâ€ value).</span></p>
<p style="margin:0cm 0cm .0001pt;"><span style="font-size:10.5pt;font-family:Arial, sans-serif;"> </span></p>
<p style="margin:0cm 0cm .0001pt;"><span style="font-size:10.5pt;font-family:Arial, sans-serif;">I have a program that inserts new values in the database and in chrome the service works fine but if a want to do the Vi in a while loop to update or receive new values, the the next JSON data form the web service is the same as the first call, but if I go to the NetBeans project and do the deploy again the JSON data changes.</span></p>
<p style="margin:0cm 0cm .0001pt;"><span style="font-size:10.5pt;font-family:Arial, sans-serif;"> </span></p>
<p style="margin:0cm 0cm .0001pt;"><span style="font-size:10.5pt;font-family:Arial, sans-serif;">I ask about this problem from the experts in web services (RESTful) and they say that is the cookies in the LabVIEW program, so I create add a cookie file .txt but im not confident about the format of the file(the example is in this post) or if there something amiss in the LabVIEW VIâ€™s</span></p>
<p> </p>
<p>Cookie.txt file</p>
<p># Netscape HTTP Cookie File</p>
<p># <a href="http://curl.haxx.se/rfc/cookie_spec.html" rel="external nofollow">http://curl.haxx.se/rfc/cookie_spec.html</a></p>
<p># This file was generated by libcurl! Edit at your own risk.</p>
<p> </p>
<p>UNKNOWN        FALSE    10.18.9.32:8080/arto      FALSE    0             ID           0</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_02_2015/post-53246-0-81800100-1424364552.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_02_2015/post-53246-0-81800100-1424364552.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=9994" class="ipsImage ipsImage_thumbnailed" alt="post-53246-0-81800100-1424364552.png"></a></p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_02_2015/post-53246-0-16057600-1424364553.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_02_2015/post-53246-0-16057600-1424364553_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=9995" class="ipsImage ipsImage_thumbnailed" alt="post-53246-0-16057600-1424364553_thumb.p"></a></p>
]]></description><guid isPermaLink="false">18828</guid><pubDate>Thu, 19 Feb 2015 17:03:47 +0000</pubDate></item></channel></rss>
