<?xml version="1.0"?>
<rss version="2.0"><channel><title>Embedded Latest Topics</title><link>https://lavag.org/forum/20-embedded/</link><description>Embedded Latest Topics</description><language>en</language><item><title>System setup on sbRIO</title><link>https://lavag.org/topic/23995-system-setup-on-sbrio/</link><description><![CDATA[<p>
	It's been a while I've worked on sbRIO devices.  usually MAX is how you setup the sbRIO but that options seems to be gone.   Am I missing something?    this sbRIO had 2019 on it before I formatted the drive , now I can browse to it but options to install are no longer present.  I downloaded System Configuration/setup from NIPKG manager and all *.ipk files but a bit lost on how I can put an OS on this sbRIO.
</p>

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

<p>
	 
</p>

<p>
	Editing  to add:
</p>

<p>
	Some information on only LabVIEW 2019 and older can be installed the old way
</p>

<p>
	<a href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000001DthyCAC&amp;l=en-US" rel="external nofollow">https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000001DthyCAC&amp;l=en-US</a>
</p>

<p>
	2020 and newer installation is done differently.  What I'm concerned is if all sbRIOs are supported with new method.   I'm guessing not
</p>

<p>
	<a href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x2jQCAQ&amp;l=en-US" rel="external nofollow">https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x2jQCAQ&amp;l=en-US</a>
</p>

<p>
	end of edit.
</p>

<p>
	<img alt="image.png.caf48bac479fa7cb5f2181175d437d8f.png" data-fileid="18325" data-ratio="97.85" width="789" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2024_06/image.png.caf48bac479fa7cb5f2181175d437d8f.png">
</p>
]]></description><guid isPermaLink="false">23995</guid><pubDate>Sat, 01 Jun 2024 10:36:25 +0000</pubDate></item><item><title>NI 9213 not working in FPGA with other modules</title><link>https://lavag.org/topic/23891-ni-9213-not-working-in-fpga-with-other-modules/</link><description><![CDATA[<p>
	Hello everyone,
</p>

<p>
	Note: I have tried to post this on the NI Discussion Forums but it is "under review"...
</p>

<p>
	I am trying to get my FPGA program working. I have been able to get the first three modules working (at least not throwing an error when the FPGA starts I haven't actually tested data though put yet) but no matter what I do I can't get the 9213 to work except an empty example project. If I diagram disable the loop with the NI 9213 (Module 4) calls in it the FPGA will run with no errors.
</p>

<p>
	Here is the error I keep getting :
</p>

<p>
	Error -61017 occurred at Open FPGA VI Reference in NI 9213 Getting Started (Host)ud.vi<br>
	Possible reason(s):<br>
	LabVIEW FPGA: You must recompile the VI for the selected target.<br>
	=========================<br>
	LabVIEW FPGA: You must recompile the VI for the selected target.
</p>

<p>
	Here is my setup: <br>
	LabVIEW 2024 Q1<br>
	cRIO-9064 (Firmware: 24.0.04129, OS: NI Linux Real-Time ARMv7-A 4.14.146-rt67)<br>
	Slot 1, NI 9203<br>
	Slot 2, NI 9265<br>
	Slot 3, NI 9474<br>
	Slot 4, NI 9213
</p>

<p>
	As a test I used the NI 9213 Getting Started.lvproj from the example finder to verify that the module by it self would work. And it does. 
</p>

<p>
	To make the example work with my system;<br>
	* Create a copy of the example<br>
	* Right click the Project name -&gt; Add Target and Devices<br>
	* Select Existing target or devices -&gt; Discover an existing target(s) or devices(s) -&gt; Real-Time CompactRIO -&gt; Select my cRIO<br>
	* Click OK<br>
	* Select LabVIEW FPGA Interface<br>
	* Click Continue<br>
	* Click Discover<br>
	* Copy the NI 9213 Getting Started (Host).vi from the sample cRIO to my cRIO<br>
	* Copy the NI 9213 Getting Started (FPGA).vi from the sample cRIO/FPGA Target to my cRIO/FPGA Target <br>
	* Create and Build a Build Specification for the NI 9213 Getting Started (FPGA).vi <br>
	* Open the NI 9213 Getting Started (Host).vi and right click the Open FPGA VI Reference select Configure Open FPGA VI Reference<br>
	* Select the Build Specification created above<br>
	* Click OK <br>
	* (optional) Add an probe on the Error wire between the Open FPGA VI Reference and the Reset (Invoke Method) <br>
	* Click Run at the top
</p>

<p>
	Next I added a second loop in the NI 9213 Getting Started (FPGA).vi and added in the channels for the other modules. It will compile just fine but as soon as I try to run it it, the Open FPGA VI Reference throws the above error... again (See the NI 9213 Getting Started (FPGA) - w other modules.vi, The top loop is the added modules and the bottom loop is the untouched loop from the example)
</p>

<p>
	Next I disabled the new loop and recompile and it still throws the same error. You can see the diagram disable statement around the top loop. 
</p>

<p>
	Next I deleted the new loop and recompile and it still throws the same error. (saved the NI 9213 Getting Started (FPGA).vi as a new vi so I could keep the previous one as a sample and created a new build specification)
</p>

<p>
	Next, in the project I disconnected from the cRIO, changed it's IP address to 0.0.0.0 and re-added my cRIO again (same steps above to add my cRIO to the sample project). This time I added the re-named NI 9213 Getting Started (FPGA).vi to my FPGA and recompiled again, and it works. 
</p>

<p>
	So a few comments / observations,<br>
	1. In the attached vi, in the bottom loop, the case structure that is connected to the error wire, I can't use that in the top loop. I tried to reproduce this in my original project and I had to use Error State boolean from the unbundle by name in both loops. This seems odd to me.<br>
	2. I am not worried about the timing right now. The only thing I really want the FPGA for is to create a PWM output from one of the DO channels. If I can't figure this out by Monday I am going to try to switch to Mixed Mode and put everything except the DO module on the Scan interface. 
</p>

<p>
	I have done similar things to this in the past but I can't figure this out. 
</p>

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

<p>
	Thanks, Ryan
</p>

<p><a href="https://lavag.org/uploads/monthly_2024_04/648499346_NI9213GettingStarted(FPGA)-wothermodules.jpg.03f2fa3856be88cd2b9c9d75fa0179fd.jpg" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="18300" src="https://lavag.org/applications/core/interface/js/spacer.png" data-ratio="59.44" width="1605" class="ipsImage ipsImage_thumbnailed" alt="NI 9213 Getting Started (FPGA) - w other modules.jpg" data-src="https://lavag.org/uploads/monthly_2024_04/648499346_NI9213GettingStarted(FPGA)-wothermodules.jpg.03f2fa3856be88cd2b9c9d75fa0179fd.jpg"></a></p><p>
<a class="ipsAttachLink" href="https://lavag.org/applications/core/interface/file/attachment.php?id=18301&amp;key=1e2aee7ed8e85140b66a8b163d34fc88" data-fileext="zip" data-fileid="18301" data-filekey="1e2aee7ed8e85140b66a8b163d34fc88">NI 9213 Getting Started.zip</a></p>]]></description><guid isPermaLink="false">23891</guid><pubDate>Mon, 29 Apr 2024 13:28:44 +0000</pubDate></item><item><title>FPGA SPI communication inside a SCTL (single cycle time loop)</title><link>https://lavag.org/topic/22754-fpga-spi-communication-inside-a-sctl-single-cycle-time-loop/</link><description><![CDATA[<p>
	I'm trying to read the data from a 16 bit ADC converter through SPI with an sbRIO-9651.
</p>

<p>
	Reading the data with a normal loop on the FPGA works as expected but the achieved speed is not very high.
</p>

<p>
	I've tried to do the same by using a SCTL with a case structure where each case of the structure should not take more than a single tick to execute.
</p>

<p>
	By looking with the oscilloscope the pulses generated and read seem to be OK.
</p>

<p>
	The read conversion data seems, however, to be missing the MSB.
</p>

<p>
	When reading for instance a voltage over the ADC range, I read 0011111111111111 instead of the expected 01111111111111111 (the ADC sends the data on two's complement).
</p>

<p>
	I am missing something?
</p>

<p>
	Any hints would be welcome!
</p>

<p><a href="https://lavag.org/uploads/monthly_2022_09/FPGA_SPI_ADC_read.png.3fdb9cdf4fd8d6cf4f2a42474d0fa5b9.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="17131" src="https://lavag.org/applications/core/interface/js/spacer.png" data-ratio="51.29" width="967" class="ipsImage ipsImage_thumbnailed" alt="FPGA_SPI_ADC_read.png" data-src="https://lavag.org/uploads/monthly_2022_09/FPGA_SPI_ADC_read.png.3fdb9cdf4fd8d6cf4f2a42474d0fa5b9.png"></a></p>
<p><a href="https://lavag.org/uploads/monthly_2022_09/468236565_2022-09-2814_20_53-MAX11901-16-Bit1.6MspsLow-PowerFullyDifferentialSARADC-AdobeAcroba.png.03aa5e674bd64444004cdf18c4fb2937.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="17132" src="https://lavag.org/applications/core/interface/js/spacer.png" data-ratio="32.91" width="1246" class="ipsImage ipsImage_thumbnailed" alt="2022-09-28 14_20_53-MAX11901 - 16-Bit, 1.6Msps, Low-Power, Fully Differential SAR ADC - Adobe Acroba.png" data-src="https://lavag.org/uploads/monthly_2022_09/468236565_2022-09-2814_20_53-MAX11901-16-Bit1.6MspsLow-PowerFullyDifferentialSARADC-AdobeAcroba.png.03aa5e674bd64444004cdf18c4fb2937.png"></a></p>]]></description><guid isPermaLink="false">22754</guid><pubDate>Wed, 28 Sep 2022 12:56:43 +0000</pubDate></item><item><title>Supply Chain Risk Mitigation</title><link>https://lavag.org/topic/22497-supply-chain-risk-mitigation/</link><description><![CDATA[<p>
	As I'm sure many of you know, there's an issue sourcing any NI products with FPGAs on them. Lead times are... out there. For anyone who can't tolerate those long lead times, they are probably thinking about a plan B. I'm wondering if anyone has gone through the process of designing a replacement for an NI product. Our application is written in LabVIEW and one of our biggest risks is that the run time engine isn't open source. There's so many test hours behind our labview app but if we run into a "bug" and NI won't support it because it's on 3rd party hardware, we could really find ourselves in a bind. How much did you use the LabVIEW code or did you just start from scratch? What's the process like? Expensive? Buggy?
</p>
]]></description><guid isPermaLink="false">22497</guid><pubDate>Fri, 08 Apr 2022 21:37:54 +0000</pubDate></item><item><title>creating an Intel hex or S-Record file</title><link>https://lavag.org/topic/22260-creating-an-intel-hex-or-s-record-file/</link><description><![CDATA[<p>
	Hi everyone,
</p>

<p>
	After searching both forums I've not been able to source a way to easily create either file format. There are examples reading these files but not writing them.
</p>

<p>
	Segger simply gave the Python script below.<br />
	Unfortunately we can't simply just install Python as this is in a regulated environment. So we're hoping for a native LabVIEW solution.
</p>

<p>
	Surely someone has done this before. It gets a bit complicated if we need to roll our own down to the bit level &amp; then having to do a full validation on it. I'd really rather not go there.
</p>

<p>
	Thanks in advance!
</p>

<p>
	 
</p>

<p>
	python script (the "intelhex" does the heavy lifting)
</p>

<p>
	<span>from intelhex import IntelHex</span></p><p></p>


<p>
	<span></span></p><p></p>h = IntelHex(None)<p></p><br />
	<span>h[0x1000] = 0x12</span><p></p><br />
	<span>h[0x1001] = 0x34</span><p></p><br />
	<span>h[0x1002] = 0x56</span><p></p><br />
	<span>h[0x1003] = 0x78</span><p></p>


<p>
	<span>h.write_hex_file('patch.hex')</span></p><p></p>

]]></description><guid isPermaLink="false">22260</guid><pubDate>Thu, 04 Nov 2021 15:08:33 +0000</pubDate></item><item><title>Can I use RAD utility on a NI 9149 Expansion Chassis</title><link>https://lavag.org/topic/19707-can-i-use-rad-utility-on-a-ni-9149-expansion-chassis/</link><description><![CDATA[<p>
	Can I use RAD utility on a NI 9149 Expansion Chassis? I have to make adjustments on a expansion chassis but I need to create a back up of its contents.
</p>]]></description><guid isPermaLink="false">19707</guid><pubDate>Mon, 25 Jul 2016 09:29:43 +0000</pubDate></item><item><title>Discrete Transfer Function Direct VI not working correctly</title><link>https://lavag.org/topic/21353-discrete-transfer-function-direct-vi-not-working-correctly/</link><description><![CDATA[<p>
	I'm trying to simply do an integration with this VI. <span style="background-color:#ffffff;color:#1a1a1b;font-size:14px;">So I discretised a continuous integrator in MATLAB using the 'tustin' method, and feed its numerator and denominator into the discrete FXP transfer function. Then I deployed FXP transfer function to the Direct Transfer Function Direct that is compiled in the FPGA. I then tested it by feeding a sinusoidal input and and I am expecting a cosine. Indeed there is a cosine, but the amplitude varies as shown in the picture (https://1drv.ms/u/s!ApGS4APr_VQLhsR3EUfv68vaC9LMfw?e=x1ZemW); the red one is the input and white is output. Does anyone know why? </span>
</p>
]]></description><guid isPermaLink="false">21353</guid><pubDate>Tue, 28 Jan 2020 00:28:29 +0000</pubDate></item><item><title>sbRIO as JTAG - programmator</title><link>https://lavag.org/topic/19718-sbrio-as-jtag-programmator/</link><description><![CDATA[<p>
	Hi all! I'm sorry for my bad English.
</p>

<p>
	I have device based on FPGA.
</p>

<p>
	I'm trying to program using Labview over JTAG. 
</p>

<p>
	How can I do it? Is there any library JTAG Labview?
</p>

<p>
	Thank you!
</p>
]]></description><guid isPermaLink="false">19718</guid><pubDate>Mon, 01 Aug 2016 03:42:04 +0000</pubDate></item><item><title>NI FPGA Timekeeper and IRIG protocol</title><link>https://lavag.org/topic/18868-ni-fpga-timekeeper-and-irig-protocol/</link><description><![CDATA[<p>Hi,</p>
<p> </p>
<p>I have to deal with IRIG B protocol on a compat RIO. It's a 9074 and the IRIG signal is wired on a 9402. I searched on the NI website and found 2 libraries that seems to decode IRIG :</p>
<ul><li><a href="https://decibel.ni.com/content/docs/DOC-8062" rel="external nofollow">IRIG-B Implementation in LabVIEW FPGA</a></li>
<li><a href="https://decibel.ni.com/content/docs/DOC-16454" rel="external nofollow">FPGA Timekeeper</a></li>
</ul><p>I played with the first one and succeed to get day of the year and hour, but not the year. </p>
<p> </p>
<p>As the second is recommended by NI to be used with 9467 and it is said to be compatible with IRIG protol ("The NI FPGA Timekeeper is LabVIEW FPGA IP designed to integrate the CompactRIO onboard field-programmable gate array (FPGA) clock with external timing sources such as SNTP, <strong>IRIG-B</strong>, and GPS."), I thought it would be a better solution.</p>
<p> </p>
<p>My problem is that there is no example of the use of timekeeper with IRIG protocol and I don't know how to use it in this way. Does anyone has already use timekeeper with IRIG B protocol and can give me an example?</p>
<p> </p>
<p>Thanks in advance</p>
<p> </p>
<p>BR<br>Yann</p>
]]></description><guid isPermaLink="false">18868</guid><pubDate>Mon, 09 Mar 2015 08:23:19 +0000</pubDate></item><item><title>FPGA Image Convolution error</title><link>https://lavag.org/topic/20383-fpga-image-convolution-error/</link><description><![CDATA[<p style="margin:0cm;margin-bottom:.0001pt;background:#FFFFFF;">
	<span style="font-size:11pt;font-family:Calibri, 'sans-serif';">Hi,</span>
</p>

<p style="margin:0cm;margin-bottom:.0001pt;background:#FFFFFF;">
	 
</p>

<p>
	 
</p>

<p style="margin:0cm;margin-bottom:.0001pt;background:#FFFFFF;">
	<span style="font-size:11pt;font-family:Calibri, 'sans-serif';">I am trying to use image convolution inside FPGA. My Image size is around 6kx2k. The convolution is applied properly until 2600 pixels in x resolution. After that, the values seem to miss previous row data. </span>
</p>

<p style="margin:0cm;margin-bottom:.0001pt;background:#FFFFFF;word-spacing:0px;">
	<span style="font-size:11pt;font-family:Calibri, 'sans-serif';"> </span>
</p>

<p style="margin:0cm;margin-bottom:.0001pt;background:#FFFFFF;word-spacing:0px;">
	<span style="font-size:11pt;font-family:Calibri, 'sans-serif';">In Detail: As convolution is matrix operation, image data needs to be stored for the operation. But it seems there is an inadvertent error storing only 2600 pixels per row inside FPGA. And hence the filtered output is calculated assuming these pixels to be 0. </span>
</p>

<p style="margin:0cm;margin-bottom:.0001pt;background:#FFFFFF;word-spacing:0px;">
	<span style="font-size:11pt;font-family:Calibri, 'sans-serif';"> </span>
</p>

<p style="margin:0cm;margin-bottom:.0001pt;background:#FFFFFF;word-spacing:0px;">
	<span style="font-size:11pt;font-family:Calibri, 'sans-serif';">I have tried with different image sizes, different convolution kernels, and also in different targets (cRIO 9030 and IC 3173). All results are same.</span>
</p>

<p style="margin:0cm;margin-bottom:.0001pt;background:#FFFFFF;word-spacing:0px;">
	<span style="font-size:11pt;font-family:Calibri, 'sans-serif';"> </span>
</p>

<p style="margin:0cm;margin-bottom:.0001pt;background:#FFFFFF;word-spacing:0px;">
	<span style="font-size:11pt;font-family:Calibri, 'sans-serif';">I have attached a screenshot of FPGA VI and an example image.</span>
</p>

<p style="margin:0cm;margin-bottom:.0001pt;background:#FFFFFF;word-spacing:0px;">
	<span style="font-size:11pt;font-family:Calibri, 'sans-serif';"> </span>
</p>

<p style="margin:0cm;margin-bottom:.0001pt;background:#FFFFFF;word-spacing:0px;">
	<span style="font-size:11pt;font-family:Calibri, 'sans-serif';">The example image shows an input image of 4000x2500 of same pixel value 16.The kernel is 3x3 of values 1 with divider=1. The RT image is processed using IMAQ convolute inside RT controller and has value 144 [(9*16)/1] for all pixels. But the FPGA processed image (zoomed in) has 144 until 2597 pixels and then 112 (7*16- showing 1 column of 2 rows missing) at 2598, 80 (5*16- showing 2 columns of 2 rows missing) at 2599 and 48 after that (missing 3 columns of 2 rows- current row is always present). This shows the data is missing from the previous rows after 2600 index. </span>
</p>

<p style="margin:0cm;margin-bottom:.0001pt;background:#FFFFFF;word-spacing:0px;">
	<span style="font-family:Helvetica, 'sans-serif';"> </span>
</p>

<p style="word-spacing:0px;">
	Is there some mistake in the code or any workaround available?
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_2017_12/5a389d2e18653_FilterVI.PNG.a7fce0d95dfaa090b1a9d96f0ccf0b98.PNG" data-fileid="12824" rel=""><img alt="Filter VI.PNG" class="ipsImage ipsImage_thumbnailed" data-fileid="12824" src="https://lavag.org/uploads/monthly_2017_12/5a389d31180c2_FilterVI.thumb.PNG.52d9e870551f92a996aa3935080f7879.PNG"></a>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_2017_12/5a389d3661498_FPGAFilter.png.3c5f545f66a44bb32c44a3397f962e0d.png" data-fileid="12825" rel=""><img alt="FPGA Filter.png" class="ipsImage ipsImage_thumbnailed" data-fileid="12825" src="https://lavag.org/uploads/monthly_2017_12/5a389d3831b1a_FPGAFilter.thumb.png.a034474fb1f48f45827555c5d18c41e6.png"></a>
</p>
]]></description><guid isPermaLink="false">20383</guid><pubDate>Tue, 19 Dec 2017 05:01:57 +0000</pubDate></item><item><title>Setting the digital output for user input time</title><link>https://lavag.org/topic/20370-setting-the-digital-output-for-user-input-time/</link><description><![CDATA[<p>
	Hi. 
</p>

<p>
	I would like to have the digital trigger high for user input time in seconds.
</p>

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

<p><a class="ipsAttachLink" href="//lavag.org/applications/core/interface/file/attachment.php?id=12801">Data Acquisition Final.zip</a></p>]]></description><guid isPermaLink="false">20370</guid><pubDate>Mon, 04 Dec 2017 15:43:38 +0000</pubDate></item><item><title>LabVIEW IP core reuse</title><link>https://lavag.org/topic/20367-labview-ip-core-reuse/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	If I generate an FPGA IP core from my LabVIEW code, can I use it somehow in traditional FPGA development environments, such as Vivado?
</p>

<p>
	Thanks,
</p>

<p>
	David
</p>
]]></description><guid isPermaLink="false">20367</guid><pubDate>Wed, 29 Nov 2017 11:20:23 +0000</pubDate></item><item><title>How to generate a cRIO project programmatically</title><link>https://lavag.org/topic/20311-how-to-generate-a-crio-project-programmatically/</link><description><![CDATA[<p style="margin:0cm 0cm 0pt;">
	<span lang="en-us" style="font-family:Arial, 'sans-serif';" xml:lang="en-us"><font color="#000000" size="3">Hello everyone,</font></span>
</p>

<p style="margin:0cm 0cm 0pt;">
	<span lang="en-us" style="font-family:Arial, 'sans-serif';" xml:lang="en-us"><font color="#000000" size="3">I’m not sure which forum is the right one which is why I created two new topics with the same content (one in Embedded and one in VI Scripting) – so sorry for the spamming.</font></span>
</p>

<p style="margin:0cm 0cm 0pt;">
	<span lang="en-us" style="font-family:Arial, 'sans-serif';" xml:lang="en-us"><font color="#000000" size="3"> </font></span>
</p>

<p style="margin:0cm 0cm 0pt;">
	<span lang="en-us" style="font-family:Arial, 'sans-serif';" xml:lang="en-us"><font color="#000000" size="3">I have two questions:</font></span>
</p>

<ol style="list-style-type:decimal;"><li style="font-style:normal;font-weight:normal;">
		<p style="font-style:normal;font-weight:normal;margin-top:0cm;margin-bottom:0pt;">
			<span lang="en-us" style="font-family:Arial, 'sans-serif';" xml:lang="en-us">How can I generate a cRIO project programmatically?</span>
		</p>
	</li>
	<li style="color:rgb(0,0,0);font-family:Arial, 'sans-serif';font-size:11pt;font-style:normal;font-weight:normal;">
		<p style="color:rgb(0,0,0);font-family:Calibri, 'sans-serif';font-size:11pt;font-style:normal;font-weight:normal;margin-top:0cm;margin-bottom:0pt;">
			<span lang="en-us" style="font-family:Arial, 'sans-serif';" xml:lang="en-us">How can I start the “<span style="color:#000000;">Discovering Devices</span>”<span style="color:#000000;"> tool</span> <span style="color:#000000;">of the Project Wizard </span>automatically?</span>
		</p>
	</li>
</ol><p style="margin:0cm 0cm 0pt;">
	<span lang="en-us" style="font-family:Arial, 'sans-serif';" xml:lang="en-us"><font color="#000000" size="3"> </font></span>
</p>

<p style="margin:0cm 0cm 0pt;">
	<span lang="en-us" style="font-family:Arial, 'sans-serif';" xml:lang="en-us"><font color="#000000" size="3">At first I will describe a bit more what I really want to do:</font></span>
</p>

<p style="margin:0cm 0cm 0pt;">
	<span lang="en-us" style="font-family:Arial, 'sans-serif';" xml:lang="en-us"><font size="3"><font color="#000000">I’m about to write an auto coder which should create a complete new FPGA project on my cRIO system without any user input. In the </font><span style="color:#000000;">Project Wizard </span><font color="#000000">I want to run the “System Setup” from NI standalone. In that mask the NI project need some input like project type which is always a cRIO Embedded System. The next step is to insert an IP address to discover an existing system. </font></font></span>
</p>

<p style="margin:0cm 0cm 0pt;">
	<span lang="en-us" style="font-family:Arial, 'sans-serif';" xml:lang="en-us"><font color="#000000" size="3">As those two steps are every time with the same input, I want to give them those parameters so that everything runs automatically.</font></span>
</p>

<p style="margin:0cm 0cm 0pt;">
	<span lang="en-us" style="font-family:Arial, 'sans-serif';" xml:lang="en-us"><font color="#000000" size="3"> </font></span>
</p>

<p style="margin:0cm 0cm 0pt;">
	<span lang="en-us" style="font-family:Arial, 'sans-serif';" xml:lang="en-us"><font color="#000000" size="3">Is there anybody who can help?</font></span>
</p>

<p style="margin:0cm 0cm 0pt;">
	<span lang="en-us" style="font-family:Arial, 'sans-serif';" xml:lang="en-us"><font color="#000000" size="3"> </font></span>
</p>

<p style="margin:0cm 0cm 0pt;">
	<span lang="en-us" style="font-family:Arial, 'sans-serif';" xml:lang="en-us"><font color="#000000" size="3">Thanks a lot!!</font></span>
</p>
]]></description><guid isPermaLink="false">20311</guid><pubDate>Fri, 29 Sep 2017 08:21:08 +0000</pubDate></item><item><title>Unicode on Linux (oh, and Mac)</title><link>https://lavag.org/topic/19809-unicode-on-linux-oh-and-mac/</link><description><![CDATA[<p>
	I'm adding support for <a href="https://en.wikipedia.org/wiki/NT_LAN_Manager" rel="external nofollow">NTLMv2</a> authentication and Hashes to the <a href="http://lvs-tools.co.uk/software/encryption-compendium-labview-library/" rel="external nofollow">Encryption Compendium for LabVIEW</a>. I have implemented the NTLM SSP protocol in native LabVIEW (apart from one thing) and it's all working great under Windows, Now I am looking to make sure it works on the other platforms still.
</p>

<p>
	The "one thing" is the Ascii to UTF16 conversion since the protocol uses unicode. With the older protocols (NTLMv1 etc) that is not an issue since the negotiation can tell the server to use ASCII strings instead of Unicode. However. NTLMv2 requires unicode strings to create the hash in the specifications so there is no negotiating it  away.
</p>

<p>
	(Note: There is no need to display anything so the bytes just need converting for calculation from a LabVIEW string to a u8 byte array representing the unicode equivalent. No changes to LabVIEW indicators or ini-files is required)
</p>

<p>
	Under windows, the conversion from ASCII to Unicode is via calls to the OS (kernel32.dll). So am I looking at <a href="http://linux.die.net/man/3/iconv" rel="external nofollow">iconv</a>, <a href="http://linux.die.net/man/3/mbsrtowcs" rel="external nofollow">mbsrtowcs</a> or something else to achieve the same on Linux and Mac?
</p>

<p>
	.
</p>
]]></description><guid isPermaLink="false">19809</guid><pubDate>Sun, 11 Sep 2016 08:51:27 +0000</pubDate></item><item><title>Cannot make DStar work</title><link>https://lavag.org/topic/19698-cannot-make-dstar-work/</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);">
	My setup is:
</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);">
	- PXIe-1082 chasis
</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);">
	- PXIe-7962R FlexRIO
</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);">
	- custom MRF timing card
</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 want to send data via the DStarB line from the custom FPGA to the FlexRIO. I am reading the DStarB line in my <abbr title="LabVIEW">LV</abbr> FPGA program.
</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);">
	The problem I have is that I only get the data when the DStarB line goes from '0' to '1'. If I send two '1' after another I only get the first one, because I only recognize the positive front. I would wager that the backplane has a setting for this DStar lines. Some pull-downs or something...
</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 cannot read the <span style="line-height:1.2;">VI_ATTR_PXI_DSTAR_BUS and VI_ATTR_PXI_DSTAR_BUS_SET attributes of the PXIe-7962 card from the LabVIEW program. The attributes are also not present in the VISA Interactive control Attributes list.</span>
</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);">
	<span style="line-height:1.2;">Is there a problem, because the crate is not configured to work with my custom timing card?</span>
</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);">
	<span style="line-height:1.2;">Or is the problem in the FlexRIO configuration?</span>
</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);">
	Do I need to enable something in the chassis settings in NI MAX? I went over everything but cannot find something useful.
</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);">
	Do I need to configure the backplane with my timing card somehow?
</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 running out of ideas, so please do help.
</p>
]]></description><guid isPermaLink="false">19698</guid><pubDate>Tue, 19 Jul 2016 09:21:31 +0000</pubDate></item><item><title>Running out of LUTs on Zynq 7020</title><link>https://lavag.org/topic/19532-running-out-of-luts-on-zynq-7020/</link><description><![CDATA[<p>Hi FPGA expert.</p>
<p>When I try â€œmy wayâ€ of implementing a simple FPGA Analog Out VI, I run out of FPGA fabric (too may LUTs used).</p>
<p>So what better way can I do this (if there is one), that donâ€™t overuse my LUTs.</p>
<p>My task is to:</p>
<p>Make one analog measurement and control 2 analogue outputs that should be clocked out every time I get a digital trigger in.</p>
<p> </p>
<p>Iâ€™m running a sbRIO-9637 (Zynq7020)</p>
<p>Iâ€™ve attached the simple application and Iâ€™m puzzled of what needs so many Look Up Tables (LUTs).</p>
<p>Any suggestions?</p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=11087" data-fileid="11087" rel="">FPGATest.zip</a></p>
]]></description><guid isPermaLink="false">19532</guid><pubDate>Mon, 21 Mar 2016 23:11:40 +0000</pubDate></item><item><title>Xilinx Compilers and Windows 10</title><link>https://lavag.org/topic/19209-xilinx-compilers-and-windows-10/</link><description><![CDATA[<p>Has anyone tested, or found any information (or heard any rumors) with regard to compatibility of the current LabVIEW FPGA (Xilinx) compilers with Windows 10? I am guessing it is the same issues as with Windows 8 (not compatible), but I thought I would ask  <img src="https://lavag.org/uploads/emoticons/default_smile.png" alt=":)"></p>]]></description><guid isPermaLink="false">19209</guid><pubDate>Wed, 02 Sep 2015 15:12:10 +0000</pubDate></item><item><title>How to customize a CompactRIO web based configuration interface ?</title><link>https://lavag.org/topic/19334-how-to-customize-a-compactrio-web-based-configuration-interface/</link><description><![CDATA[<p>Hi all,</p>
<p> </p>
<p>Has anybody ever tried to customize the web based configuration interface for compactRIO ? My goal would be to Â« inject Â» some custom configuration code into the actual interface. For example I would like to add a new icon in<span style="font-family:arial, sans-serif;"> the banner on the left edge of the page</span> and display a form of my own in order to configure custom settings (see screenshot enclosed). Benefits of this feature would be great concerning user experience (only need a browser, single interface to configure a device, no need to develop a full custom LabVIEW configuration HMI using NI System Configuration API ...).</p>
<p> </p>
<p>I'm not sure if this customization is possible, and I wonder how to achive it cleanly. Maybe NI provides an overload mechanism like using hooks or something comparable ?</p>
<p> </p>
<p>If somebody has informations or experience about this topic, Iâ€™m highly interested in.</p>
<p> </p>
<p>Thanks for your help,</p>
<p>Nicolas</p>
<div> </div>
<div><img src="https://lavag.org/uploads/gallery/album_118/gallery_53538_118_25162.png" alt="gallery_53538_118_25162.png"></div>
]]></description><guid isPermaLink="false">19334</guid><pubDate>Sat, 14 Nov 2015 18:00:05 +0000</pubDate></item><item><title>NI LabVIEW C Generator</title><link>https://lavag.org/topic/19203-ni-labview-c-generator/</link><description><![CDATA[<p>Does NI still support/sell this?  And if so what is the approximate cost?  </p>]]></description><guid isPermaLink="false">19203</guid><pubDate>Sat, 29 Aug 2015 17:14:28 +0000</pubDate></item><item><title>fpga interactive mode in multiple develeloper environments</title><link>https://lavag.org/topic/19200-fpga-interactive-mode-in-multiple-develeloper-environments/</link><description><![CDATA[<p>Multiple developers creating LabVIEW code for Windows, NI-RT and NI-FPGA, all code kept in SVN. Multiple working environments with numerous windows computers, NI Real-Time Hardware Targets and ethernet networks (ie, company (169.xxx.xxx.xxx), local (192.xxx.xxx.xxx) and hardware (10.xxx.xxx.xxx)). Experiencing that the FPGA Interactive mode does not work in numerous situations (ie, the FPGA code requires to be recompiled before using FPGA Interactive mode), with shared (again this is thru via SVN) LVprojects with the code and .lvbitx files.</p>
<p> </p>
<p>Best I could find via google is this idea exchange posting that describes a perceived defect in this area (change in IP address of NI Real-Time Hardware Target - and am going to investigate if this is the root cause of the experienced issues):</p>
<p><span><a href="http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Enabling-use-Labview-FPGA-front-panel-in-interactive-mode/idi-p/2012956" rel="external nofollow">http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Enabling-use-Labview-FPGA-front-panel-in-interactive-mode/idi-p/2012956</a></span></p>
<p> </p>
<p><span>As asked in the above link, is this different IP issue a defect? Any insights or experiences to share regarding this described situation?</span></p>
<p> </p>
<p><span>I've cross posted this to<a href="http://forums.ni.com/t5/LabVIEW/FPGA-interactive-mode-in-multiple-develeloper-environments/td-p/3184841" rel="external nofollow"> ni forum </a>as well, to increase exposure.</span></p>
<p><span>Thanks for your time - Chris</span></p>
<p><span><a href="http://forums.ni.com/t5/LabVIEW/FPGA-interactive-mode-in-multiple-develeloper-environments/td-p/3184841" rel="external nofollow">http://forums.ni.com/t5/LabVIEW/FPGA-interactive-mode-in-multiple-develeloper-environments/td-p/3184841</a></span></p>
]]></description><guid isPermaLink="false">19200</guid><pubDate>Fri, 28 Aug 2015 22:06:27 +0000</pubDate></item><item><title><![CDATA[CompactRIO RT freeze when I use &#34;Set Time.vi&#34;]]></title><link>https://lavag.org/topic/19136-compactrio-rt-freeze-when-i-use-set-timevi/</link><description><![CDATA[<p>Hi everyone,</p>
<p> </p>
<p>I'm using a compactRIO and need to update the internal time of the device to be clock synchronized with my whole system. Everything seemed to work perfectly but when I try to apply an offset between 0 and -30 seconds, my compactRIO freeze. Nothing happen if I apply a positive offset or an offset "higher" (in a negative way) than -30 sec.</p>
<p> </p>
<p>The duration of the freeze equals the offset I apply on my device and after this delay, everything comes back to normal. The freeze affects all my RT code (other processus as well) and not only the VI where I use the "Set Time.vi". The FPGA seems to be working during the freeze time because I got "DMA is full" error after the freeze and some LEDs keep blinking during the whole time.</p>
<p> </p>
<p>Has any of you already noted something similar on compactRIO 9068 (Linux) ? Or do you have any idea of what is going on ?</p>
<p> </p>
<p>Thanks for you help.</p>
<p>Nicolas</p>
<p> </p>
<p>Additionnal informations :</p>
<p>   - LabVIEW 2013 SP1</p>
<p>   - NI RIO 14.0.1</p>
<p>   - CompactRIO 9068</p>
<p>   - Linux Embedded</p>
<p>   - LavBIEW Real-Time 13.0.1</p>
]]></description><guid isPermaLink="false">19136</guid><pubDate>Thu, 30 Jul 2015 10:35:44 +0000</pubDate></item><item><title>FPGA Ref in LVOOP</title><link>https://lavag.org/topic/19067-fpga-ref-in-lvoop/</link><description><![CDATA[<p>Hi all,</p>
<p> </p>
<p>I am trying to have an OOP based architecture inside RT ,where FPGA acquired values are used inside RT. So my plan is to have a generic base class upon which different systems(Child classes) are built. My child FPGA VIs will have additional controls in Front panel along with the common ones. So where can I put the FPGA ref? I cannot have it in base class since it will not bind all the controls. But if I have it in Child classes, how can I have the common functions in Base class?</p>
<p> </p>
<p>Looking forward to your suggestions guys..</p>
]]></description><guid isPermaLink="false">19067</guid><pubDate>Thu, 25 Jun 2015 11:35:31 +0000</pubDate></item><item><title>FPGA Compilation Error 1566</title><link>https://lavag.org/topic/18847-fpga-compilation-error-1566/</link><description><![CDATA[<p>Hi all, </p>
<p> </p>
<p>I am trying to compile an FPGA code which results in the error as follows:</p>
<p> </p>
<p>ERROR:HDLCompiler:1566 - "C:\NIFPGA\jobs\t1y1Y1O_hxEgG35\NiFpgaAG_0000002b_SequenceFrame.vhd" Line 42: Expression has 32 elements ; formal ceioparameter0signal expects 24 <img src="https://lavag.org/uploads/emoticons/default_oops.gif" alt=":oops:"></p>
<p> </p>
<p>How do I debug this. I have no idea about how xilinx compilation. Help me  <img src="https://lavag.org/uploads/emoticons/default_thumbup1.gif" alt=":thumbup1:"></p>
<p> </p>
<p>Thanks,</p>
<p>Prabhu</p>
]]></description><guid isPermaLink="false">18847</guid><pubDate>Fri, 27 Feb 2015 05:24:25 +0000</pubDate></item><item><title>understanding FPGA PID VI</title><link>https://lavag.org/topic/18760-understanding-fpga-pid-vi/</link><description><![CDATA[<p>Problem understanding FPGA PID VI</p>
<br><p>The integral and derivative actions of PID do not seem to track equations shown in documentation.</p>
<br><p>Derivative â€“ PV set using triangle wave 0 â€“ 10 â€“ 0 at approx. 1 Hz the derivative of PV should alternate between +20 v/s and -20 v/s. The PID output maxes out at +/- 1 when Kd is set to 128. (Kp = Ki = 0.) Based on documentation the PID output should be +/- 20 when Kd = 1, and then 20*128 = 2560 when Kd = 128. Not sure why the effective gain is so small.</p>
<br><p>Integral â€“ The error is set by setting SP = constant = 10, and varying PV using triangle signal noted above. The error is then a triangle that varies from +10 to 0, again over Â½ second. The integral, therefore, should be varying from +2.50 to -2.50 over the complete cycle.</p>
<br><p> Issue 1: The integral effect on PID output does not change sign when error integral goes negative. It appears that there is some absolute value function that only allows positive integral action regardless of error integration.  Likewise, if Ki is set to negative number the integral PID action only goes in negative direction. This implies that as the PV crosses over the SP level the integral action will keep adding to PID output that will then drive PV further past SP.</p>
<br><p>Issue 2: Unlike the derivative effective small gain, the effective integral gain is very large. With the Ki set to the smallest number available using FP 16.8, (approx. .0039). the PID output varies from 0 â€“ 12.5 with the actual integral varying from -2.5 to +2.5. Not sure why the effective gain is so large.</p>
<br>]]></description><guid isPermaLink="false">18760</guid><pubDate>Wed, 21 Jan 2015 17:51:40 +0000</pubDate></item><item><title>Communicating between Windows virtual memory and myRIO FPGA</title><link>https://lavag.org/topic/18725-communicating-between-windows-virtual-memory-and-myrio-fpga/</link><description><![CDATA[<p>Alrighty. It's been a lot of effort trying to get around this but no luck. I have setup the following attachment on my system and myRIO (_<a href="https://decibel.ni.com/content/docs/DOC-9893)." rel="external nofollow">https://decibel.ni.com/content/docs/DOC-9893).</a></p>
<p>I am presently using the kinect Face Tracking Basics WPF c# program to track a manikin head and extract z-coordinates which represent the distance of the camera from the manikin head. At present, I am writing this coordinates to memory using the memorystream method in c#.</p>
<p>The problem is I want to send the z-coordinates to the fpga on myRIO using the Host to Target scope in the link above. So far, I can't figure out how to do that. </p>
<p>Is it even possible for labview to access physical memory on my windows computer?</p>
<p>I look forward to your replies.</p>
<p>Thank you!</p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=9826" data-fileid="9826" rel="">DMA FIFO Code.zip</a></p>
]]></description><guid isPermaLink="false">18725</guid><pubDate>Mon, 29 Dec 2014 01:20:27 +0000</pubDate></item><item><title>Transferring Data between the FPGA and the Host</title><link>https://lavag.org/topic/18718-transferring-data-between-the-fpga-and-the-host/</link><description><![CDATA[<p>Hello!</p>
<p> </p>
<p>Is there anything similar to "DMA MEMORY" that behaves like DMA FIFO, but without the FIFO part?</p>
<p> </p>
<p>I would like to transfer 1000 bytes of data from the FPGA to the cRIO host and 1000 bytes of data from the host to the FPGA and I don't care about old data - I only need the latest data.<br>Ideally I would like to have two pieces of memory, each 1000 bytes long.<br>One piece that can be written from the FPGA and read from the host and the other piece that can be written by the host and read by the FPGA, so that the first byte of data is always on the address 0.</p>
<p> </p>
<p>DMA FIFO is not a viable solution, because I would like to get the data as fast as possible, but I can read it on the host only on certain non deterministic intervals.<br>If I would use the DMA FIFO, I would need a huge FIFO to store all the unused old measurements.</p>
<p> </p>
<p>Thank you for any reply or suggestion.</p>
<p> </p>
<p>Kind regards,</p>
<p> </p>
<p>Greg<br> </p>
]]></description><guid isPermaLink="false">18718</guid><pubDate>Wed, 24 Dec 2014 18:43:49 +0000</pubDate></item><item><title>Spartan 3e transfer array elelement by elelement without DMA support</title><link>https://lavag.org/topic/18663-spartan-3e-transfer-array-elelement-by-elelement-without-dma-support/</link><description><![CDATA[<p>I am having trouble realising an FIR filter in Spartan 3E XUP board. I have succesfully compiled the FPGA VI generated from "Generate IP" (However, IP Builder sub menu is not existing this board in Project explorer as given in FPGA IP bulider tutorial). The FPGA Vi wil be running in SCTL receiving FXP data elements. But an array of data is required for the filtering to happen. How to do this without DMA FIFO as the board supports only Target scoped FIFO?</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_11_2014/post-53001-0-32653000-1417145030.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_11_2014/post-53001-0-32653000-1417145030_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=9755" class="ipsImage ipsImage_thumbnailed" alt="post-53001-0-32653000-1417145030_thumb.p"></a></p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_11_2014/post-53001-0-62833400-1417148360.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_11_2014/post-53001-0-62833400-1417148360_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=9757" class="ipsImage ipsImage_thumbnailed" alt="post-53001-0-62833400-1417148360_thumb.p"></a></p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_11_2014/post-53001-0-03474800-1417148366.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_11_2014/post-53001-0-03474800-1417148366_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=9758" class="ipsImage ipsImage_thumbnailed" alt="post-53001-0-03474800-1417148366_thumb.p"></a></p>
]]></description><guid isPermaLink="false">18663</guid><pubDate>Fri, 28 Nov 2014 04:19:42 +0000</pubDate></item><item><title>FPGA compilation is taking much longer than it did a few weeks ago</title><link>https://lavag.org/topic/18567-fpga-compilation-is-taking-much-longer-than-it-did-a-few-weeks-ago/</link><description><![CDATA[<p>The last two times I tried to compile an FPGA VI it took a significantly longer time than it used to, and it never ended up compiling. I forgot what stage it got to the first time, but the second time it just stayed frozen on "Placing and routing" for a half an hour, so I cancelled it, because I figured something was wrong. It was a simple VI; similar VI's compiled in like 5 minutes or less. I hadn't compiled any FPGA VI's for a week or two in between, so I don't know what I could have done in that time that broke it.</p>
<p>
Has anyone else had a problem like this / know how to fix it? Thanks.</p>
]]></description><guid isPermaLink="false">18567</guid><pubDate>Thu, 09 Oct 2014 04:17:10 +0000</pubDate></item><item><title>Fixed a problem with my RIO evaluation board; now I only have a couple questions.</title><link>https://lavag.org/topic/18518-fixed-a-problem-with-my-rio-evaluation-board-now-i-only-have-a-couple-questions/</link><description><![CDATA[<p><strike>I recently bought a used RIO evaluation board on eBay because I wanted to try out RT and FPGA programming in LabVIEW. I'm running into trouble setting it up, however. When I installed the software from the included disc, it tried to install LabVIEW 2011 first. I canceled that and all the other stuff it tried to install that I already had a more recent version of. It installed the evaluation kit setup tool without issue though. I don't think the lack of LabVIEW 2011 (I have 2014) would cause the setup to fail in this manner, but I'm mentioning it here just in case.<br><br>Anyway, I went to set it up, and at first I was having trouble finding it. I had it connected to my computer with what I thought was a crossover cable, but when it didn't work, I realized it actually wasn't one, so I just plugged it into my router and it detected it just fine. It then said it was deploying the software, and stayed on that screen for a few minutes. Afterwards, it said the deployment failed with no further explanation. It suggested I reformat it and install the software, so I tried it. The first time, it failed with an "unhandled error". I don't remember the number, and "Explain Error" wouldn't appear (it looked like a regular error cluster), but it worked later on.<br><br>Upon reformatting, it immediately started deploying the software again. It failed with the same issue. It suggested (as it did before) that I press the reset button and try again, so I did. No luck.<br><br>Anyone have any other suggestions? The board cost me $250, so I'd especially like to get it working.</strike></p>
<p> </p>
<p>Never mind; I managed to get it to work eventually. In case anyone else has this problem, I simply had to install the software through MAX, by opening "Remote Systems", expanding the "NI-sbRIO9636-<em>xxxxxxxx</em>" item, right-clicking Software, and selecting "Add/Remove Software".</p>
<p> </p>
<p><strike>However, one thing I'm curious about is how I can directly access the file system on the board. I assume standard file I/O nodes in an RT VI will do it? I'd still like to have a regular file manager, or maybe an SFTP server.</strike></p>
<p> </p>
<p>Figured that out too! <img src="https://lavag.org/uploads/emoticons/default_smile.png" alt=":)"> It's in one of the web configuration addons you can install from MAX.</p>
<p> </p>
<p>But one question remains: Is there a shell of some kind I can connect to?</p>
]]></description><guid isPermaLink="false">18518</guid><pubDate>Wed, 17 Sep 2014 22:41:43 +0000</pubDate></item><item><title>does compiling on Linux have a different probability of compiling FPGAs?</title><link>https://lavag.org/topic/18531-does-compiling-on-linux-have-a-different-probability-of-compiling-fpgas/</link><description><![CDATA[<p style="color:rgb(0,0,0);font-family:Arial;font-size:12px;">Hey guys,</p>
<br><p style="color:rgb(0,0,0);font-family:Arial;font-size:12px;"> </p>
<br><p style="color:rgb(0,0,0);font-family:Arial;font-size:12px;">I am currently having some issues with a FPGA program with Softmotion not compiling.</p>
<br><p style="color:rgb(0,0,0);font-family:Arial;font-size:12px;">We are running out of options in terms of how to get this FPGA program compiled.</p>
<br><p style="color:rgb(0,0,0);font-family:Arial;font-size:12px;"> </p>
<br><p style="color:rgb(0,0,0);font-family:Arial;font-size:12px;">So my question is does compiling on Linux have a different probability of compiling FPGAs?</p>
<br><p style="color:rgb(0,0,0);font-family:Arial;font-size:12px;">I have heard that Xilinx Compiler is meant for Linux so it runs more efficiently and faster,</p>
<br><p style="color:rgb(0,0,0);font-family:Arial;font-size:12px;">so I was just wondering if the compile method was different as well</p>
<br>]]></description><guid isPermaLink="false">18531</guid><pubDate>Mon, 22 Sep 2014 18:55:16 +0000</pubDate></item><item><title>Why is the Spartan 3E driver only allowed for educational use?</title><link>https://lavag.org/topic/18489-why-is-the-spartan-3e-driver-only-allowed-for-educational-use/</link><description><![CDATA[<p>I don't have a Spartan 3E, but I'm just wondering: why does NI say people are only allowed to use the Spartan 3E driver for educational use? Don't they want their FPGA module to be usable on as much hardware as possible, so more companies would have a reason to buy it? Why would they introduce an arbitrary restriction like that? (Also, why doesn't Xilinx create their own driver without such a restriction?)</p>
<p> </p>
<p>Also, with that driver, would I be able to program a Digilent BASYS Spartan 3E board? I'd like an answer quickly, because I found one on eBay that's Buy It Now, but I'm afraid someone will bid before I know it'll work.</p>
]]></description><guid isPermaLink="false">18489</guid><pubDate>Tue, 09 Sep 2014 00:31:31 +0000</pubDate></item><item><title>Poor performance for sbRIO-9606 USB</title><link>https://lavag.org/topic/18436-poor-performance-for-sbrio-9606-usb/</link><description><![CDATA[<p>Hi guys,</p>
<p> </p>
<p>Long time reader, first time writer.</p>
<p> </p>
<p>I'm currently trying to develop a data gathering system using a NI sbRIO-9606.</p>
<p> </p>
<p>The premise is quite straight-forward; I have a digital signal (data and clock) with a bitrate of 10 Mbit/s which I want to store to a USB flash drive in real time. The single-board RIO has no problem reading and processing the bitstream but storing the data to the USB flash drive is apparently not as easy as I thought.</p>
<p> </p>
<p>According to the manual the USB port supports a transfer speed up to 480 Mbit/s (USB 2.0 standard?) but I've been unable to achieve any faster transfer speed than around 1 Mbit/s (1.3 Mbit/s worst-case). This is unaccaptable for my application!</p>
<p> </p>
<p>I'v tried to disabeling buffering for the Open/create file function and only storing files in multiples of the sector size but it does not seem to help. Are there any preferrable USB flash drives one must use? Or am I unaware of any "high speed file streaming" options in LabVIEW?</p>
<p> </p>
<p>Sincerley,</p>
<p>CC</p>
<p> </p>
]]></description><guid isPermaLink="false">18436</guid><pubDate>Tue, 19 Aug 2014 15:07:05 +0000</pubDate></item><item><title>Sparkfun Arduino kit?</title><link>https://lavag.org/topic/18285-sparkfun-arduino-kit/</link><description><![CDATA[<p>I'm not sure if this is the right sub-forum, but is anyone playing with this?</p>
<p><a href="https://www.sparkfun.com/products/11225" rel="external nofollow">https://www.sparkfun.com/products/11225</a></p>
<p> </p>
<p>I'd like to get a cheap copy of LabVIEW at home that isn't tied to work licenses.  The application would be playing around with my kids.</p>
]]></description><guid isPermaLink="false">18285</guid><pubDate>Fri, 13 Jun 2014 18:45:32 +0000</pubDate></item><item><title>FPGA LVOOP Issue</title><link>https://lavag.org/topic/16587-fpga-lvoop-issue/</link><description><![CDATA[<p>I am trying to understand why the LabVIEW compiler (when creating intermediate files) is having problems when shifting the data back around in a loop.  If I don't use a shift register it compiles fine.</p>
<p> </p>
<p>My thought is that this has something to do with dynamic dispatching, but since the data type isn't changing between iterations (when using the shift register) it should be fine.</p>
<p> </p>
<p>Attached is the code (LabVIEW 2012).</p>
<p> </p>
<p>Does anyone have any insight why I'm having a problem?</p>
<p> </p>
<p>Thanks.</p>
<p> </p>
<p> </p>
<p> </p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_02_2013/post-17256-0-71752300-1361469200.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_02_2013/post-17256-0-71752300-1361469200.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=7794" class="ipsImage ipsImage_thumbnailed" alt="post-17256-0-71752300-1361469200.png"></a></p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_02_2013/post-17256-0-58525700-1361469225.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_02_2013/post-17256-0-58525700-1361469225.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=7795" class="ipsImage ipsImage_thumbnailed" alt="post-17256-0-58525700-1361469225.png"></a></p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=7796" data-fileid="7796" rel="">Test FPGA.zip</a></p>
]]></description><guid isPermaLink="false">16587</guid><pubDate>Thu, 21 Feb 2013 17:59:38 +0000</pubDate></item><item><title>Q:  What causes unresponsive FPGA elements after restart?</title><link>https://lavag.org/topic/16908-q-what-causes-unresponsive-fpga-elements-after-restart/</link><description><![CDATA[<p>Hey guys,</p>
<p> </p>
<p>I'm at my wits end here trying to interface with an FPGA. I've currently got it configured as follows:</p>
<p> </p>
<p>7813R FPGA card in a <abbr title="LabVIEW">LV</abbr>-RT machine, running LV2012 on host and Real-Time machines.</p>
<p> </p>
<p><em>Compile</em>: Run when loaded = True</p>
<p><em>Obtain Reference</em>:</p>
<ul><li>Linked to bitfile 
</li>
<li>FPGA ref bound to typedef
</li>
<li>Run the FPGA VI = False<br></li>
</ul><p></p>
<p><em>FIFOs</em> (2 host-to-target DMAs) depth initialized after reference obtained.</p>
<p> </p>
<p>Code then utilises reference to read indicators, send values to FIFOs and update controls.</p>
<p> </p>
<p><em>On Shutdown</em>: FIFOs stopped, but reference not closed.</p>
<p> </p>
<p><span style="text-decoration:underline;">My problem</span>: All subsequent runs after shutting down the program (via the shutdown method) will successfully obtain a reference to the FPGA and init FIFOs (no errors generate), <strong>but </strong>attempts to read any of the indicators, or update any of the controls do nothing. Indicators show default values, and controls are unresponsive. In the past, I've fixed this by recompiling the FPGA, also sometimes by just redownloading it. Since I made some changes to the way data is loaded into the FIFOs (absolutely no changes to anything that ever touched the FPGA reference, purely to the way the arrays are formatted), nothing I do seems to recover the responsiveness.</p>
<p> </p>
<p><span style="text-decoration:underline;">I've tried</span>: Restarting the RT machine, re-downloading the FPGA (in different orders). I've added close FPGA reference and "Start on Run" to the obtain reference and then restarting and re-downloading. Absolutely nothing has worked. I'm currently in the process of removing "Run on load" (performing a recompile), after which I will add "Start on Run" back into the Obtain reference vi.</p>
<p> </p>
<p>I'm at my wits end. Has anyone encountered this sort of problem before, does anyone know what causes it?</p>
]]></description><guid isPermaLink="false">16908</guid><pubDate>Tue, 18 Jun 2013 04:17:54 +0000</pubDate></item><item><title>FPGA FFT Not Returning Complete Data Set</title><link>https://lavag.org/topic/15672-fpga-fft-not-returning-complete-data-set/</link><description><![CDATA[<p>Hi Guys,</p>
<p>I currently have an issue where I'm feeding a relativeley large data set into the FPGA FFT (524288 points) which are computed as 512 1024 sample length transforms (rows of image data).</p>
<p>Despite receiving the correct number of valid inputs (I've checked), the FPGA only returns 522240 points (it's two rows short), can anyone illuminate why this is happening?</p>
<p>The code snippet is shown below.</p>
<p><img src="http://lavag.org/uploads/gallery/album_60/gallery_16778_60_67956.png" alt="gallery_16778_60_67956.png"></p>
]]></description><guid isPermaLink="false">15672</guid><pubDate>Tue, 17 Apr 2012 02:10:32 +0000</pubDate></item><item><title>Bad crash under XP Embedded</title><link>https://lavag.org/topic/17825-bad-crash-under-xp-embedded/</link><description><![CDATA[<p>I'm working on a <abbr title="LabVIEW">LV</abbr> 2013 application that will run on an XP Embedded platform.</p>
<p>Under my development environment it runs great, but when installed on the XP Embedded system it will run for a few minutes, and then pop with a very ungraceful "DAbort in ThEvent.cpp" message.</p>
<p> </p>
<p>I've tried to track this down to some action or event, but it appears to be relatively random. I had noticed, in older versions of the code, a memory leak, but that's been resolved since and yet the crash persists.</p>
<p> </p>
<p>I know XP Embedded is not <em>officially</em> supported, but this embedded installation is virtually a full XP installation, so there shouldn't be any concerns there (I hope). Anyone know where I can start with diagnosis of a crash like this? Google isn't helping, so I need to perform investigative effort but I really can't think where to start!</p>
]]></description><guid isPermaLink="false">17825</guid><pubDate>Tue, 10 Dec 2013 15:12:42 +0000</pubDate></item><item><title>LV FPGA - Master typedef not found issue</title><link>https://lavag.org/topic/16218-lv-fpga-master-typedef-not-found-issue/</link><description><![CDATA[<p>Hi to everyone,</p>
<p>I have a design on a 7851 that is working in the lab and now there is one big issue.</p>
<p>The system consists of this FPGA card in a PXIe crate with an 8133 controller which on startup configures the FPGA using the "Open FPGA VI reference" VI, parameterizes the FPGA and receives data from it. The "Open FPGA VI Reference" points to the bitstream and was configured to generate a typedef from the interface. The application on the controller uses LVOOP, the class has in its private data control an instance of this generated typedef (actually it's a bit more complex due to other reasons, the private data only holds a reference to the cluster that holds all the data including the FPGA VI reference, but I don't think this makes a difference). Using this instance and the FPGA Read/Write nodes as well as a DMA FIFO the host application interfaces the FPGA. Within the FP interface to the FPGA there is also a cluster holding some numeric and boolean values, lets call it "param_cluster".</p>
<p>The problem is now: I developed it in the lab where it was tested to work. I committed it to SVN (which is used to manage the whole project, essential building block of everything). When I check it out at the teststand to deploy it FPGA Read/Write nodes to "param_cluster" are broken, the error message is "Error: Master Copy for Type Definition could not be found". It's exactly the same error as in this thread <a href="http://forums.ni.com/t5/LabVIEW/Error-Master-Copy-for-Type-Definition-Could-Not-Be-Found/td-p/1496866" rel="external nofollow">http://forums.ni.com...nd/td-p/1496866</a> . Pitifully there were never clear answers to this. A temporary solution to this problem is to rebuild the bitstream at the teststand and reopen it in the "Open FPGA VI Reference" VI but this cannot be done in the final system. The bitstream used then must be the one tested and verified in the lab.</p>
<p>So anyone has in idea what is happening there?</p>
<p>Cheers,</p>
<p>flintstone</p>
]]></description><guid isPermaLink="false">16218</guid><pubDate>Thu, 04 Oct 2012 14:26:59 +0000</pubDate></item><item><title>Recover contiguous memory in sbrio 9605</title><link>https://lavag.org/topic/17447-recover-contiguous-memory-in-sbrio-9605/</link><description><![CDATA[<p>Hello,</p>
<p>    I have lately run into a problem of insufficient memory. Basicallly the controller is ever running and i generate data and store it in .tdms file every x sec. and every shift (3 shifts in a day) i ftp the file to the host and delete the file. During accumalation of the data the ram continuosly decreases(contiguous memory also decreases as i have a lot of array manupilations and such).</p>
<p> </p>
<p>I want to recover this contiguous memory at the end of the shift so that the next shift runs smoothly. this is observed because i saw lot of inconsistency in the data file. Is there a vi which will free up ram and defragment it?.</p>
<p> </p>
<p>I cannot use preallocated array because i dont know before hand how many data points i need to store. the data that will be put is in variable time.</p>
<p> </p>
<p>Thanks in advance.</p>
]]></description><guid isPermaLink="false">17447</guid><pubDate>Fri, 18 Oct 2013 07:20:53 +0000</pubDate></item><item><title><![CDATA[Meaning of FXP &#34;Word Length&#34; vs &#34;Integer Word Length&#34;]]></title><link>https://lavag.org/topic/15559-meaning-of-fxp-word-length-vs-integer-word-length/</link><description><![CDATA[<p>Hi Guys,</p>
<p>Tinkering with my FPGA code today, I ran into a question which I'd never really contemplated before. Say I have an unsigned FXP number with word length = 1 and integer word length = 2. Labview tells me that this gives a maximum of 2 with a delta of 2, so the number can either be 0 or 2.</p>
<p>This makes no intuitive sense to me, the way I understood it, the word length is the total number of bits used to capture the number, the integer word length is the number of bits dedicated to capturing the integer portion, in other words, it kind of defines the "magnitude" of the number that can be captured, the remaining bits are used to give the "precision" to which the number is captured. So how is it even possible for the "integer word length" to be greater than the "word length"?</p>
<p>Insight much appreciated.</p>
<p>Cheers,</p>
<p>Alex</p>
]]></description><guid isPermaLink="false">15559</guid><pubDate>Wed, 14 Mar 2012 22:42:39 +0000</pubDate></item><item><title>BlackFin Embedded</title><link>https://lavag.org/topic/12572-blackfin-embedded/</link><description><![CDATA[<p>Does anyone know if National Instruments is still updating/supporting BlackFin Embedded Module software?</p>
<p>From the NI site it is not listed under LabVIEW for Embedded Applications and doesn't appear to be for sale anymore.</p>
<p>Thanks.</p>
]]></description><guid isPermaLink="false">12572</guid><pubDate>Tue, 15 Jun 2010 22:27:39 +0000</pubDate></item><item><title>Apply C-series module dicovering capability to SbRIO RMCs</title><link>https://lavag.org/topic/15634-apply-c-series-module-dicovering-capability-to-sbrio-rmcs/</link><description><![CDATA[<p>Here is an interesting topic about adding C-series discovering capabilities to RMC custom boards for SbRIO : <a href="http://forums.ni.com/t5/cRIO-Module-Developers-Kit/Can-C-series-module-MDK-can-be-applied-to-SbRIO-mezzanine-card/td-p/1921829" rel="external nofollow">http://forums.ni.com/t5/cRIO-Module-Developers-Kit/Can-C-series-module-MDK-can-be-applied-to-SbRIO-mezzanine-card/td-p/1921829</a></p>
<p>Do not hesitate to post comments on the NI thread or through this forum.</p>
]]></description><guid isPermaLink="false">15634</guid><pubDate>Tue, 03 Apr 2012 08:18:58 +0000</pubDate></item><item><title>FPGA FFT Reset Required or No?</title><link>https://lavag.org/topic/15775-fpga-fft-reset-required-or-no/</link><description><![CDATA[<p>Hey guys,</p>
<p>So, a quick question. Suppose I have the High-Throughput FFT in a single-cycle timed loop performing transforms on data-sets 1024 points long. For each set of 1024 points, which should be considered completely independent of each-other, do I need to trigger the reset line on the FFT?</p>
<p>I ask because I'm seeing a weird periodicity in the results of a "find max" type algorithm which is hunting through the magnitude of the frequency spectrum. At worst, the result of this "find max" should be random, not periodic in nature. My guess is that there is some sort of index shifting going on which could be a result of a bad indexing operation (something I can check and fix myself) or as a result of some sort of accumulation in the FFT.</p>
<p>Edit: A quick note, there is definitely no periodic shift in the data itself, it should be more or less constant.</p>
<p>Can anyone shed light on the matter?</p>
<p>Cheers,</p>
<p>Alex</p>
]]></description><guid isPermaLink="false">15775</guid><pubDate>Mon, 28 May 2012 04:12:51 +0000</pubDate></item><item><title>ARM dev tools for hobby level learning?</title><link>https://lavag.org/topic/15617-arm-dev-tools-for-hobby-level-learning/</link><description><![CDATA[<p>I have an idea for a home project that's been floating around in my brain for a while involving some relatively simple image pattern recognition.  I've done assembly on the 68HC11 and AVR 8-bit micros in years past, but for this one I'm thinking of trying my hand at ARM development.</p>
<p>Although it sounds like NI has some promising products <a href="http://lavag.org/topic/12572-blackfin-embedded/page__view__findpost__p__93555" rel="">on the way</a> I'm guessing it will be too expensive for the hobby market.  I've researched a few options and they are all lacking in some way...</p>
<p><a href="http://www.raspberrypi.org/" rel="external nofollow">Raspberry Pi</a> - Hard to beat $25 for all the features this comes with.  Unfortunately it's not available yet and I suspect it will take some time for self-learning material to develop... and to be honest my ventures into linux environments haven't been particularly fruitful.</p>
<p><a href="http://arduino.cc/en/" rel="external nofollow">Arduino Due</a> - Arduino is a fairly mature platform with lots of available content to draw from.  The Due is the first 32-bit ARM processor released for Arduino.  Unfortunately, following a surge of post-maker faire publicity last fall the Due seems to have fallen off the planet.  I couldn't even find references to it on Arduino's web site.</p>
<p><a href="http://mbed.org/" rel="external nofollow">mbed</a> - Another interesting dev platform.  Though it is a little more expensive at <a href="http://www.sparkfun.com/products/9564" rel="external nofollow">$60</a> it has the advantage of actually being able to purchase it.  The downside?  It uses a web-based dev environment.  Thanks, I'll pass.</p>
<p>Other tools I've found are positioned (and priced) as business tools, not hobbyist tools.  Has anyone had particularly good experiences with an inexpensive ARM devkit and toolchain?</p>
]]></description><guid isPermaLink="false">15617</guid><pubDate>Thu, 29 Mar 2012 17:16:54 +0000</pubDate></item><item><title>The idea of throughput and handshaking</title><link>https://lavag.org/topic/15565-the-idea-of-throughput-and-handshaking/</link><description><![CDATA[<p>Hi again guys,</p>
<p>I've had my FPGA code running for a while now, but I'm hesitant to trust it, because I don't really understand the concept of handshaking and throughput. Say I have the following block of code:</p>
<p><img src="http://lavag.org/uploads/gallery/album_60/gallery_16778_60_4438.png" alt="gallery_16778_60_4438.png"></p>
<p>My question is, if the multiply takes 1 cycle/sample to compute (and this goes for all blocks that say they take 1 cycle/sample), does it return its result on the exact same cycle that it receives a valid point  (I.e. when divides "ready for input" goes true and a deviated bin element is dequeued from the FIFO).</p>
<p>OR</p>
<p>Does it take another cycle and thus, I should always load the result of multiply (and any other high throughput maths) into a shift register to be absorbed by divide on the following loop iteration?</p>
<p>Thanks for your help.</p>
<p>Alex</p>
]]></description><guid isPermaLink="false">15565</guid><pubDate>Thu, 15 Mar 2012 21:29:50 +0000</pubDate></item><item><title><![CDATA[cRIO get image method didn&#39;t work]]></title><link>https://lavag.org/topic/15439-crio-get-image-method-didnt-work/</link><description><![CDATA[<p>Hi,</p>
<p>Am doing Ph.D in National Institute of Ocean Technology. I have to write a code in labview.</p>
<p>I have to generate a spectrogram and store spectrogram in the jpg file format in crio. The code works on my local PC. When I deploying the same in crio, it didn't work. It returns zero. Also I tried the paths like c:test.jpg or /c/test.jpg; both didn't work. We are using Labview 2011 full professional development system.</p>
<p>cRIO 9025</p>
<p>Chasis 9113</p>
<p>NI 9229</p>
<p>Thanks for the help.</p>
<p>ASAP.</p>
<p>Regards,</p>
<p>Ashokan</p>
]]></description><guid isPermaLink="false">15439</guid><pubDate>Fri, 03 Feb 2012 08:55:19 +0000</pubDate></item><item><title><![CDATA[FPGA Compile: &#39;Generic file I/O error&#39;]]></title><link>https://lavag.org/topic/15186-fpga-compile-generic-file-io-error/</link><description><![CDATA[<p>I'm attempting to compile an FPGA project for an R series card to use in Veristand 2011. I used the FPGA creator wizard to get the basic template and modify my IO as directed.</p>
<p>When I attempt to build the project, I get the following error.</p>
<p>'LabVIEW: Generic file I/O error.'</p>
<p>=========================</p>
<p>NI-488:  I/O operation aborted.</p>
<p>Error 6 occurred at Write to Text File in</p>
<p>niFpgaCompileWorker_SaveStatus.vi-&gt;</p>
<p>niFpgaCompileWorker_Status_Publish.vi-&gt;</p>
<p>niFpgaCompileWorker_GetStatus.vi-&gt;niFpgaCompile_Worker.vi:1</p>
<p>Possible reason(s):</p>
<p>LabVIEW:  Generic file I/O error.</p>
<p>=========================</p>
<p>NI-488:  I/O operation aborted.</p>
<p>C:\NIFPGA\compilation\TheFPGA_FPGATarget_TheFPGA_0E9FD350\BuildResults.lvtxt</p>
<p>My first thought was that the file size was too long. (I had the project buried in a deep heirarchy with a long job number in the name.) I reduced the size of the FPGA project, target, and folder name then moved the project to C:\ . The name shouldn't be an issue now.</p>
<p>Any ideas?</p>
<p>The error is so generic that it doesn't feel very helpful.</p>
]]></description><guid isPermaLink="false">15186</guid><pubDate>Wed, 09 Nov 2011 14:03:12 +0000</pubDate></item><item><title><![CDATA[Possible to turn a an XPe box into a USB Device (Test &#38; Measurement class)?]]></title><link>https://lavag.org/topic/14917-possible-to-turn-a-an-xpe-box-into-a-usb-device-test-measurement-class/</link><description><![CDATA[<p>Hey folks-</p>
<p>I reckon my question is more windows XPe related than LabVIEW related, but it wouldn't surprise me if someone here has dealt with, or considered this idea before in this arena.  </p>
<p>My googling has turned up very little... but I want to know how feasible it may be to turn a box running XPe into a USB device (test and measurement class) that can be recognized by a remote hosting computer - all the while still being able to host USB devices on other USB ports itself for USB DAQ.</p>
<p>Even if someone was willing to point me in the right direction, to documentation or another forum it would be very much appreciated!</p>
<p>Thanks</p>
<p>-pat</p>
]]></description><guid isPermaLink="false">14917</guid><pubDate>Tue, 13 Sep 2011 19:42:01 +0000</pubDate></item><item><title>Financial Applicatin - LabVIEW FPGA White Paper</title><link>https://lavag.org/topic/13974-financial-applicatin-labview-fpga-white-paper/</link><description><![CDATA[<p>Not sure if this is the best place to post but check our white paper for accelerating the FIX protocol using FlexRIO and LabVIEW FPGA</p>
<p><a href="http://www.wallstreetfpga.com/fixcancel" rel="external nofollow">http://www.wallstree...a.com/fixcancel</a></p>
<p>Feedback and comments are appreciated.</p>
]]></description><guid isPermaLink="false">13974</guid><pubDate>Tue, 15 Mar 2011 19:17:07 +0000</pubDate></item><item><title>labview with fpga</title><link>https://lavag.org/topic/14104-labview-with-fpga/</link><description><![CDATA[<p>hi.. guys</p>
<p>i am doing a project in labview ...( HMI) which controls the machine.. user interface.. </p>
<p>now what i need is i want to communicate the pc labview with FPGA  some standard communication  protocol...  </p>
<p>it should be faster.... (because i want to do frame grabbing the raw data)</p>
<p>reliable, less hardware , multi slave interface... less communication error... etc so kindly guys give some good suggestions...</p>
]]></description><guid isPermaLink="false">14104</guid><pubDate>Wed, 06 Apr 2011 06:05:08 +0000</pubDate></item><item><title>DMA FIFO</title><link>https://lavag.org/topic/13299-dma-fifo/</link><description><![CDATA[<p>I'm hoping someone has run into this and can point me in a good direction. </p>
<p>The test machine I'm using is a 2.79 GHz Pentium 4, WinXP, 1 GB RAM system with a PCI-7831R card in it.  I'm running LabVIEW 8.6.1.</p>
<p>I'm trying to stream data from the FPGA to the PC over a DMA FIFO.  I've picked 250 kHz as my current benchmark as that is significantly above where the actual system is going to need to run.  The FPGA side uses a fixed time interval (4 usec) FIFO write.  The PC side uses two loops, one to read a latched timeout flag in the FPGA and one to read out the FIFO in a 20 msec loop.</p>
<p>This works most of the time until I do something like minimize Windows Task Manager.  The CPU usage doesn't blip and stays at ~25%; the number of elements remaining in the FIFO jumps to 30,000+ and I start to lose data points as the FIFO write in the FPGA times out.  </p>
<p>I've attached my test code.</p>
<p>I appreciate any light people can shed on this.</p>
<p>Tim</p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=3330" data-fileid="3330" rel="">FPGA DMA Test.zip</a></p>
]]></description><guid isPermaLink="false">13299</guid><pubDate>Thu, 28 Oct 2010 16:01:48 +0000</pubDate></item><item><title>LVOOP on FPGA with LV 2009</title><link>https://lavag.org/topic/11241-lvoop-on-fpga-with-lv-2009/</link><description><![CDATA[<p>Hi,</p>
<p>I just played a little with LV2009 and the FPGA module. I even could compile a small VI with LVOOP in it. Does anyone know some examples for LVOOP on FPGA? Or even benchmarks of the possible hit on size and speed of such code? Currently I don't have access to our cRIO so I can't test myself.</p>
<p>Greetings from Munich</p>
<p>Götz</p>
]]></description><guid isPermaLink="false">11241</guid><pubDate>Wed, 14 Oct 2009 16:23:37 +0000</pubDate></item><item><title>Embedded XP</title><link>https://lavag.org/topic/8788-embedded-xp/</link><description><![CDATA[<p>Is anyone using <a href="http://www.microsoft.com/windowsembedded/en-us/products/wexpe/product-features.mspx" rel="external nofollow">Windows Embedded XP</a> on <a href="http://sine.ni.com/nips/cds/view/p/lang/en/nid/206122" rel="external nofollow">TPC</a> development?</p>
<p>And can comment on the pros/cons including differences wrt <a href="http://www.microsoft.com/windowsembedded/en-us/products/windowsce/product-features.mspx" rel="external nofollow">Windows CE</a> &amp; using <a href="http://sine.ni.com/nips/cds/view/p/lang/en/nid/202908" rel="external nofollow">NI Touch Panel Module</a> - especially graphics?</p>
<p><a href="http://zone.ni.com/devzone/cda/tut/p/id/4011" rel="external nofollow">KB</a>, <a href="http://zone.ni.com/devzone/cda/tut/p/id/7757" rel="external nofollow">KB</a>, <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=351964&amp;query.id=311465#M351964" rel="external nofollow">Dark Side Forum</a></p>
<p>I am interested to know the differences as the TP Module and Windows CE can be a <a href="http://digital.ni.com/public.nsf/allkb/59631A5891C65F1A8625733200503DCB" rel="external nofollow">pig to program</a> compared to standard LabVIEW and Windows XP - don't take my word - go ahead try it  <img src="https://lavag.org/uploads/emoticons/default_smile.png" alt=":)"></p>
<p><a href="http://forums.ni.com/ni/board/message?board.id=170&amp;thread.id=367160" rel="external nofollow">[Cross Post]</a></p>
]]></description><guid isPermaLink="false">8788</guid><pubDate>Sat, 08 Nov 2008 01:56:24 +0000</pubDate></item><item><title>INI files and cRIO</title><link>https://lavag.org/topic/13540-ini-files-and-crio/</link><description><![CDATA[<p>This is probably a stupid question but is there any way to store and load values from a config file on a cRIO?</p>
<p>thanks,</p>
<p>Bernard</p>
]]></description><guid isPermaLink="false">13540</guid><pubDate>Mon, 20 Dec 2010 00:32:31 +0000</pubDate></item><item><title>Labview FPGA issue</title><link>https://lavag.org/topic/13341-labview-fpga-issue/</link><description><![CDATA[<p>Hi all,</p>
<p>I am new to LabView. I have a very urgent project (which seems to be very simple) but it's not working.</p>
<p>I'm using the PXI-7831R board (will use the 7851R) and LabView 2010.</p>
<p>The goal of my project is to continuously read TDMS files from the  computer hard-drive and transmit them using 5 analog output channels.  All the channels should be perfectly synchronized. First of all, since  I'm working with very large data files, I'm parsing them into smaller  files (offline, before the actual transmission). BTW I'm currently  working on a version that will perform the parsing on-line - it's not  ready yet but from what I see it won't solve the issues that I'm talking  about.</p>
<p> In order to transmit all the files simultaneously, I'm using a single  DMA FIFO. I'm concatenating every value from the 5 files into an array,  transmitting it to the FIFO and then on the FPGA side I'm sending each  sample to a different analog output.</p>
<p> I've encountered the following issues:</p>
<p> 1. Transmission rate: Though the board spec (7831R) says that the  transmission rate is up to 1M, I'm unable to transmit with a rate higher  then ~550K without distorting the signal. For example, I use a 75KHz  sine sampled at 500KS/sec rate. In that case, if I transmit the sine @1M  I should see a 150KHz signal but what I actually see is a ~80KHz  signal.</p>
<p> 2. When I analyze the transmission spectrum (with MATLAB), I can  clearly see 2 spikes at +/-7Hz around the signal. These spikes are  extremely bad for my project. I analyzed the files that I recorded  (before the transmission) and the spikes aren't there which means that  they're caused by the DAC. I managed to get rid of the spikes by not  limiting the FPGA clock, but in that case, as I mentioned earlier the  signal frequency is wrong.</p>
<p> I think that the 7Hz noise occurs due to the fact that the FPGA  buffer is emptied and re-filled. When analyzing the transmission with  MATLAB I can clearly see that every ~150ms some samples are missing from  the transmission. I tried it change the FIFO size but it didn't help.</p>
<p> My project is attached - please tell me what am I doing wrong.</p>
<p>  I will also appreciate a working example of transmitting at 1M (or any other rate) that was verified and prooved to be working fine.</p>
<p> Thanks in advance  </p>
<p> <a href="https://lavag.org/applications/core/interface/file/attachment.php?id=3411" data-fileid="3411" rel="">DMA output - 5 channels working.zip</a></p>
]]></description><guid isPermaLink="false">13341</guid><pubDate>Sun, 07 Nov 2010 08:49:24 +0000</pubDate></item><item><title>Values between components</title><link>https://lavag.org/topic/13478-values-between-components/</link><description><![CDATA[<p>I'm still working out structure a FPGA program versus one on a PC, so I have a more theoretical question.  I have a FPGA program I'm working on that involves two things:</p>
<p></p>
<ol style="list-style-type:decimal;"><li>A large number of hardware I/O and parameters sent to an R-Series card (specifically a PCI-7813R)</li>
<li>Internal calculations made in the that are used in multiple other internal subroutines</li>
</ol><p>I pondered and wound up using global variables to store this glob of internal and external values.  I've kept pondering as I'm accustomed to considering globals to be akin to "demon spawn and should be avoided as the plague they are."  I've poked about example and tutorial code, but everything I've found is too simplistic in that the entire code is a couple of VIs with no connections between them.</p>
<p>How have you structured code to deal with large number of values that have to go various places?  Are globals so evil in a FPGA?  How have you dealt with sending subsets of a large number of values from subVI A to subVIs B, C and F without creating obstufication or unmanagable code?</p>
<p>Tim</p>
<p><span style="font-family:Verdana;"><span style="font-size:10px;"><em>I didn't fail the test, I just found 100 ways to do it wrong. - Banjamin Franklin</em></span></span></p>
]]></description><guid isPermaLink="false">13478</guid><pubDate>Tue, 07 Dec 2010 21:25:57 +0000</pubDate></item><item><title>rRIO runs out of RAM and gets stuck</title><link>https://lavag.org/topic/13220-rrio-runs-out-of-ram-and-gets-stuck/</link><description><![CDATA[<p>Hi people,</p>
<p>I'm using:</p>
<p>1x cRIO-9073 with 1x NI-9203 and 1x NI-9205</p>
<p>1x WSN-9791 Gateway with 3x WSN-3202</p>
<p>1x MBus Modbus converter connected to RS232 of the cRIO</p>
<p>Labview 8.6.1 + FPGA + Real Time</p>
<p>NI-RIO-3.4.0 without Scan Engine</p>
<p>My system runs as a datalogger. Ac mains are measured with 10KHz and the mean of 2 seconds of current and voltage are stored. All other devices are sampled with 2 seconds. A further loop stores that data in an array and after 1 minute it makes the mean for each 10 seconds (5 samples) and stores the result in a TDMS file. </p>
<p>The problem is, that the application starts with memory occupation of about 78,6% (View in System Manager) and with each second it increseas slightly by 0,001% or even less. BUT that's enough that after one or two hours the cRIO runs out of memory and gets stuck. The problem is, that this device is in a remote location and should run for 2 years and I can not go their every 2 hours to reset it manually because it does not respond in remote.</p>
<p>In the screenshot you see the main VI of the cRIO. First of all I have some init stuff, a 1 element cluster Queue which is use like a notifier (single writer=&gt;lossy enqueue and multiple readers=&gt;preview) and a 10 element string Queue which drives the overall init and control finite state machine. This state machine, after init toggles between Idle and Remote with a periode of 2 seconds to read the values of functional global variables which I'm using to control the system in remote. (not really needed much, because it's a "stupid" datalogger application which does not need any user interaction appart from freeing disk space by downloading periodically the tdms data).</p>
<p>The second big loop in the upper part includes 2 timed loops and one while loop to make acquisition and data storage.</p>
<p>1) Timed loop with 200ms periode reads FPGA DMA and elaborates data. If a package of data (2048) values are in memory, a 50Hz single tone frequency will be search to measure AC mains frequency, RMS voltage/ current. This elaborated data is passed into a functional global variable (FGV).</p>
<p>2) Timed loop with variable periode (in this case 2 seconds) reads WSN data, AC data from FGV, Modbus, analog inputs of the cRIO and inserts the data array into a RT-FIFO</p>
<p>3) Reads RT-FIFO, waits 500ms to free CPU if no further element is available. After a variable time (60s) all collected data will be processed and is then stored in a TDMS file. The TDMS reference is opened once and so long the system doesn't loose supply it is stored as FGV. Only after restart the reference will be reopened again.</p>
<p>**************</p>
<p>And somewhere in this code the cRIO is eating piece by piece my free memory :-(. Each SubVI contains allready "Deallocate Memory" but it didn't improve the system. I'm really desperate. Can someone see from the screenshot if I'm using a programming structure or method where some issues with memory are known? I have no idea.... It happens also with an other project, where I just read 5 analog inputs with a sampling periode of 2s. There after 20 days the cRIO is stuck again, means memory is also full. Could the problem also come from VxWorks RTOS behind Labview?</p>
<p>**************</p>
<p>Don't know where the problem comes from and tested allready so many things.... the problem is that is takes hours or day to reproduce the error and that really a problem, because I can never be sure that the system is not running out of RAM memory after some weeks?</p>
<p>Thanks for all suggestions you can give me, I'm really looking forward to any single reply, because otherwise my whole pipeline full of projects won't be successful.</p>
<p>Ciao</p>
<p>Kobe</p>
]]></description><guid isPermaLink="false">13220</guid><pubDate>Fri, 08 Oct 2010 09:38:23 +0000</pubDate></item><item><title>Complilation report problem</title><link>https://lavag.org/topic/12559-complilation-report-problem/</link><description><![CDATA[<p>Hi, I'm working on project involves implementing  on Xilinx Spartan 3E FPGA. I've completed the design, compiled it, then  tested it and everything is OK. When I started writing the final results  to my boss I encountered unusual problem. The percentage of LUT  consumed by the design is 123% (5734 out of 4656). How is that possible?  Again everything is working fine but how come the FPGA compiler reports  that 123% of the LUT is used ?! Where did (5734-4656 =  1078) LUT come  from?. Compilation report is attached. Thanks in advance.</p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=2411" data-fileid="2411" rel="">Compilation Report.txt</a></p>
]]></description><guid isPermaLink="false">12559</guid><pubDate>Tue, 15 Jun 2010 09:17:48 +0000</pubDate></item><item><title>Spartan3E_ReadBigControlVI problem</title><link>https://lavag.org/topic/12558-spartan3e_readbigcontrolvi-problem/</link><description><![CDATA[<p>Hi, I'm using LabVIEW to implement on Spartan  3E FPGA. Tests of the design was okay but everytime the tests exceeds a  certain amount of time the program stop executing and shows a the  message "<em>Error 1111: </em>Release Semaphore called on a semaphore that was  not currently acquired. " and  then a VI called Spartan3E_ReadBigControlVI opens its frontal panel with  prompt to enter a password???.Notice that i didn't use any semaphore functions. I'm using host target communication (Host VI and FPGA VI).  </p>
<p>PS. if the test does not  take time ( small amount of data) the FPGA works fine but if i increase  the amount of data the FPGA will start working but after a while the  message and the VI mentioned above appears.</p>
]]></description><guid isPermaLink="false">12558</guid><pubDate>Tue, 15 Jun 2010 09:11:49 +0000</pubDate></item><item><title>Fast writing into RAM on FlexRIO</title><link>https://lavag.org/topic/12769-fast-writing-into-ram-on-flexrio/</link><description><![CDATA[<p>Hi,</p>
<p>I have the question about the best practices how to write the array of 32 bit values into RAM on FlexRIO card.</p>
<p>The arrays can be quite large up to 2 400 000 of elements. there are simple 1D array that are read from HDD. This files are prepared before.</p>
<p>We need to write this array to the specific address in RAM. Because there can be this array read several times we can't use FIFO's.</p>
<p>The problem is if I use the for loop and write into ram Address after address the time for large arrays is big, several seconds.</p>
<p>Do you have better solution or some proposal?</p>
<p>Thank you for your help.</p>
]]></description><guid isPermaLink="false">12769</guid><pubDate>Fri, 23 Jul 2010 08:23:00 +0000</pubDate></item><item><title>Reading Multiple PWM Inputs</title><link>https://lavag.org/topic/12778-reading-multiple-pwm-inputs/</link><description><![CDATA[<p>I'm using the c-RIO 9004 with the 9014 chassis and LabVIEW 8.6.</p>
<p>I need to read and log 13 PWM inputs. I've thought about multiplexing the PWM inputs like <a href="http://zone.ni.com/devzone/cda/tut/p/id/3254" rel="external nofollow">http://zone.ni.com/devzone/cda/tut/p/id/3254</a>.</p>
<p>But the problem with multiplexing the PWM is that I won't have all the data from the 13 inputs at the same instant which I need. </p>
<p>So I've decided to have 13 loops on the FPGA each of which wait for a rising edge and then a falling edge and write the Ton time into an indicator. There is another 14th loop which reads from these 13 indicators using a local variable and writes into a DMA FIFO. RT reads from the FIFO and writes into a TDMS file.</p>
<p>Is this the best way to do this? Am I unnecessarily taxing the FPGA?</p>
<p>The PWM inputs are all from an infrared temperature sensor which I'm using to measure tyre temperature, which is why they need to be logged at the same instant.</p>
<p>Thanks</p>
<p>Ananth</p>
]]></description><guid isPermaLink="false">12778</guid><pubDate>Sat, 24 Jul 2010 11:47:26 +0000</pubDate></item><item><title>LabVIEW for more embedded targets?</title><link>https://lavag.org/topic/1788-labview-for-more-embedded-targets/</link><description><![CDATA[<p>NI wants to bring LabVIEW down to the embedded world but I don't think it goes as far as I would like.  I would like to write labview applications that runs on a PDA using Linux and the Intel PXA-255 processor.  As far as I can tell, the PDA has to have an x86 based CPU.  Does anyone know if they have or plan to have support for the intel PXA-255 processor?  It uses the ARM instruction set.</p>]]></description><guid isPermaLink="false">1788</guid><pubDate>Fri, 21 Jan 2005 19:41:24 +0000</pubDate></item><item><title>Help with Test Bench for FPGA code</title><link>https://lavag.org/topic/11788-help-with-test-bench-for-fpga-code/</link><description><![CDATA[<p>Hey all</p>
<p>I'm currently trying to simulate a block of FPGA code which performs an FFT. I am having a lot of trouble getting the simulation to store the output of the FFT </p>
<p>Here's the FPGA code:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_01_2010/post-16778-126377381736.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_01_2010/post-16778-126377381736_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=1757" class="ipsImage ipsImage_thumbnailed" alt="post-16778-126377381736_thumb.png"></a></p>
<p>And here is where I seem to be having problems with the test bench:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_01_2010/post-16778-12637739835.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_01_2010/post-16778-12637739835_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=1758" class="ipsImage ipsImage_thumbnailed" alt="post-16778-12637739835_thumb.png"></a></p>
<p>I've verified that the input case works, i.e. the FPGA code produces a graph corresponding to the input code I'm providing to the test bench, but the output case doesn't seem to populate the FFT results global, and I can't figure out another way to look at the results of the FPGA code.</p>
<p>Any help would be much appreciated.</p>
<p>Regards</p>
<p>Alex</p>
]]></description><guid isPermaLink="false">11788</guid><pubDate>Mon, 18 Jan 2010 00:22:38 +0000</pubDate></item><item><title>NI-WSN Start Kit</title><link>https://lavag.org/topic/11118-ni-wsn-start-kit/</link><description><![CDATA[<p><a href="http://zone.ni.com/devzone/cda/tut/p/id/8981" rel="external nofollow">http://zone.ni.com/devzone/cda/tut/p/id/8981</a></p>
<p>Our <a href="http://sine.ni.com/nips/cds/view/p/lang/en/nid/206916" rel="external nofollow">NI Wireless Sensor Network (WSN) Starter Kit</a> just arrived today.</p>
<p>Within an hour, I had it setup, the <a href="LabVIEW" rel="external nofollow">LabVIEW WSN Pioneer Module</a> installed, devices communicating and was writing and deploying target VIs for the embedded modules.</p>
<p>On first impressions this seems like a really neat product and is easy and kinda cool to use.</p>
<p>The Kit contains two programmable nodes, the gateway, software and a few inputs (pot + thermocouples)</p>
<p>I have just played with it on a PC but I am looking forward to connecting it up to a cRIO</p>
<p>You can get a IP64 enclosure for them as well.</p>
<p>Is anyone else using these?</p>
<p>What are your thoughts?</p>
]]></description><guid isPermaLink="false">11118</guid><pubDate>Tue, 29 Sep 2009 07:21:12 +0000</pubDate></item><item><title>FPGA simulation of a port</title><link>https://lavag.org/topic/10450-fpga-simulation-of-a-port/</link><description><![CDATA[<p>Hello,</p>
<p>I am trying to simulate a FPGA VI with a "normal" VI. Up to now that is working quite well, but now I have weird effects reading a port. One Port (8Bits) is read out from two(!) different parts of the FPGA VI. The one part is using the higher 4 bits and the other is using the lower bits. With the Simulation I try to count these Nibbles up or down separately. The nibbles should wrap around. (E.g. 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1...). The problem in my simulation is that sometimes, especially in the beginning, one step is left out (e.g. 0 1 3 4 5). This error is not happening if I am disabling one of the parts of the FPGA VI where the port is read out. So if the port is only read out from one(!) part in the FPGA VI, it works without these "errors". The most important parts of the simulation VI ist attached. I hope someone can help.</p>
<p>Greetings</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_07_2009/post-15405-124751879815.jpg" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_07_2009/post-15405-124751879815_thumb.jpg" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=179" class="ipsImage ipsImage_thumbnailed" alt="post-15405-124751879815_thumb.jpg"></a></p>
]]></description><guid isPermaLink="false">10450</guid><pubDate>Mon, 13 Jul 2009 21:02:36 +0000</pubDate></item><item><title>Compile for cRIO (FPGA and RT) without unit present</title><link>https://lavag.org/topic/9942-compile-for-crio-fpga-and-rt-without-unit-present/</link><description><![CDATA[<p>I've got a customer that is very remote (how many miles are between Detroit and Brazil?) who needs an update of the code on the cRIO system we provided them as part of the test stand.  I can make the updates to the FPGA and RT portions, but tech support tells me I can't compile them without the physical unit.  The only cRIO we bought shipped with the test stand.  I'd like to be able to compile the update to the cRIO without having an identical system on my desk.</p>
<p>Tim</p>
]]></description><guid isPermaLink="false">9942</guid><pubDate>Wed, 22 Apr 2009 19:51:24 +0000</pubDate></item><item><title>Can LabVIEW DSC Run on XP Embedded</title><link>https://lavag.org/topic/9613-can-labview-dsc-run-on-xp-embedded/</link><description><![CDATA[<p><a href="http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=391849&amp;jump=true#M391849" rel="external nofollow">cross posted to ni.com</a></p>
<p>Hi</p>
<p>Does anyone knows if LabVIEW DSC works on XP embedded?</p>
<p>These two posts are interesting: <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=138056&amp;query.id=142104#M138056" rel="external nofollow">WinCE post</a>, <a href="http://forums.ni.com/ni/board/message?board.id=280&amp;message.id=4363&amp;query.id=142104#M4363" rel="external nofollow">cRIO post</a>.</p>
<p>Links <a href="http://zone.ni.com/reference/en-XX/help/371618D-01/" rel="external nofollow">DSC Help</a>, <a href="http://zone.ni.com/devzone/cda/tut/p/id/4679" rel="external nofollow">shared variable</a>, </p>
<p>Regards</p>
<p>JG</p>
]]></description><guid isPermaLink="false">9613</guid><pubDate>Thu, 05 Mar 2009 23:21:24 +0000</pubDate></item><item><title>configuring FPGA compile server</title><link>https://lavag.org/topic/7403-configuring-fpga-compile-server/</link><description><![CDATA[<p>Is it possible to configure FPGA Compile Server in such a way that it would omit the tests at the end of the compiling process?</p>
<p>Regards</p>
<p>souske</p>
]]></description><guid isPermaLink="false">7403</guid><pubDate>Tue, 08 Apr 2008 15:37:24 +0000</pubDate></item><item><title>single board computer</title><link>https://lavag.org/topic/6460-single-board-computer/</link><description><![CDATA[<p>Hello, </p>
<p>    has anyone run any labview applications in single board computers? i wish to develop few applications for industrial use, using labview. i can build the application using application builder and load application as well as runtime enginer in SBC. Please help me if some one has run any model SBC a labview applicaitons. I wish to know which company and which model SBC can handle labview application. </p>
<p>regards, </p>
<p>Nabhi</p>
]]></description><guid isPermaLink="false">6460</guid><pubDate>Fri, 02 Nov 2007 10:37:24 +0000</pubDate></item><item><title>FieldPoint IO Point dosen't work in .exe file</title><link>https://lavag.org/topic/5445-fieldpoint-io-point-dosent-work-in-exe-file/</link><description><![CDATA[<p>Hi,</p>
<p>I am working with FieldPoint. Everything work fine, until I built the .exe file. When I click on the FieldPoint IO Point I see the browse ... But when I select it there is a pop up window appear for 1 sec then it disappear. I can not select the channel. Can anyone tell me how to fix this?</p>
<p>THank you,</p>
<p>Thang Nguyen</p>
]]></description><guid isPermaLink="false">5445</guid><pubDate>Fri, 18 May 2007 15:45:24 +0000</pubDate></item><item><title>can Labview run on FoxBoard?</title><link>https://lavag.org/topic/4669-can-labview-run-on-foxboard/</link><description><![CDATA[<p>Hi all,</p>
<p>what do you think about the possibility to run labview on this <a href="http://www.acmesystems.it/?id=4" rel="external nofollow">device</a>?</p>
<p>thanks,</p>
<p>Alessandro</p>
]]></description><guid isPermaLink="false">4669</guid><pubDate>Mon, 29 Jan 2007 17:05:24 +0000</pubDate></item><item><title>Embedded Development</title><link>https://lavag.org/topic/3613-embedded-development/</link><description><![CDATA[<p>Looking for any experiences with the new Embedded Development Module to a non-NI target board/processor, such as an Intel-based PC/104 board.  Is there anybody out there doing this?  If so, what is your take on the process of configuring your "tool chain" (compiler, target O/S, target processor and drivers)?  Also, any other ideas or feedback?</p>]]></description><guid isPermaLink="false">3613</guid><pubDate>Fri, 14 Jul 2006 21:17:24 +0000</pubDate></item><item><title>LabVIEW Embedded Development Module</title><link>https://lavag.org/topic/3521-labview-embedded-development-module/</link><description><![CDATA[<p>Hi all,</p>
<p>Does anyone have any experience with LabVIEW's Embedded Development Module?  My company is considering it for use in programming a Colibri XScale PXA270.  I am trying to get impressions from persons who don't work for NI as to whether or not this module is a reasonable way to go or if we should just stick to C when programming these devices.</p>
<p>Thanks for the help!</p>
]]></description><guid isPermaLink="false">3521</guid><pubDate>Wed, 21 Jun 2006 14:39:24 +0000</pubDate></item></channel></rss>
