Quantcast
Channel: All LabVIEW posts
Viewing all 202933 articles
Browse latest View live

Re: FPGA timing different in execution mode and simulation mode

$
0
0

With the appropriate pipelining, I think you should be able to get it done as fast as your acquisition comes in. Of course, the time for the data to be acquired, processed and output will be the same in total, but you could acquire new data as fast as your module (rather than as fast as your module acquisition period + processing time).

 

Perhaps the simplest (although not necessarily the fastest) way to do this is to put acquisition in one loop, local FIFO to a SCTL or if needs must a While loop, then just check for valid data (handshaking) or non-timeout (timeout) to process.

 

Like Intaris said (and I tried to say, perhaps unsuccessfully), it seems like you have lots of separate loops and it's not obvious why this should be the chosen design...


Re: Cannot control the motor motion and the FPGA data acquisition simultaneously

$
0
0

We cannot debug truncated pictures of block diagrams.

Re: Cannot control the motor motion and the FPGA data acquisition simultaneously

$
0
0

I am sorry about that and I have updated them. Thanks for your help.

Miscellaneous Operation Failure when installing XNET to cRIO

$
0
0

I am fairly new to LabVIEW and I am trying to us a NI-9860 with a cRIO-9045. The module doesn't work with FPGA so I have it listed as a Real Time Resource. Research I have done says I need to use XNET to use this module. I am able to install XNET on my computer but when I try to install it to the cRIO it always fails at the same point and I get this error message.

 

 

Error.PNG

Without XNET installed on my device I don't think I can use this module for CAN messages. What could possible be the cause of this error and how could I fix it?

 

Thanks in advance for any advice or help for this problem!

Re: Stereo sound generation

$
0
0

After reacquainting myself with the Generate Sound example, I seem to remember that Sound Output Write will take an array of waveforms as input (one for each channel).

Re: Stereo sound generation

Re: Cannot control the motor motion and the FPGA data acquisition simultaneously

$
0
0

Your case structure in the bottom half will only execute one time since there is no loop around it.

Re: Slow TDMS Write on cRIO 9014

$
0
0

Hi CascoSystems,

 

Currently i use a NI9014 and NI9215 to acquire continous samples, specifically 4 ch of waveforms sampling at 51.2k. As you says, the controller is too slow and the only way that i´ve found is to save the data is create continuosly small binary files with 2 seconds of waveform and store in the internal disk. To extract the data i use another script that move the data one by one to usb port, because the controller does not respond with large amount of data (>1000 files).

Finally the data is processed in the laptop.

 

Regards.


Re: Question for Experts: DVRs data pass to C DLL?

Re: Cannot control the motor motion and the FPGA data acquisition simultaneously

$
0
0

Yes, the motion part only needs to run once. Actually, I can control the motor by the NI 9512 in an individual project, as well as the data acquisition (NI 9215 FPGA). When I put them into the same project(VI A: only control motor motion, VI B: only achieve data acquisition from the FPGA, VI C: combine the VI A and VI B), VI A can be run and useful if I never run VI B. But as long as I run VI B once, VI A cannot control the motor anymore even if I restart all systems. There is waring from softmotion: the specified device was not detected. In short, how can I achieve the motor control and data acquisition from FPGA simultaneously (VI C)?

 

Thanks a lot.

Formula Express VI

$
0
0

I entered a formula with several variables with no problems (all green) but how do I define the variables outside of the Formula Express VI, since it has no inputs to wire up, other than the error in node. I tried using indicators and naming them same as my labels but that doesn't work and I can't find any examples. Thanks for any help someone may provide.

Re: Formula Express VI

$
0
0

You would need to attach your VI for us to debug.  But it is sounding like you didn't name things correctly.

Re: Cursor to indicate a plateau

$
0
0

I see thank you! I was able to make a few more steps and I think I have something that works or me now. And thanks for the resources, I'll be getting into these one of these weekends.

Re: Filemaker Pro ODBC

$
0
0

After running the two exe's, I was able to see the "Filemaker ODBC" file in the DSN and was able to create a DSN. The problem after creating a DSN is it isnt a file. It use to be a file but no longer is. IT is in the registry. So to use a DSN, you need to use a ADO string command. Not useful for the Labview database VI's. the ADO connection string was "DSN=AssetTest;UID=admin;(for those using LAbSQL)" I configured AssetTest to point to my database in the setup for "Filemaker ODBC". To make this useful for Labview, I had to make a UDL link. This is done by going into Tools menu in labview and selecting "create datalink ...". Once you have done this, use the path to that link to access the database. The connection information will be like this "C:\Program Files (x86)\National Instruments\LabVIEW 2015\Database\AssetTest.Udl"

 

Now you should be on your way !

~Chuck

Re: Formula Express VI

$
0
0

I have never use the "express" version before, but looks like you can have only have a single line of computation.

Frozen_2-1580761058403.png


Re: PXI Scan Engine occasional 66460 with 9144 EtherCAT

$
0
0

I'm seeing this now with the cRIO-9068 and a string of Beckhoff EtherCAT slaves. 10 ms scan engine time. If I just set error -66460 to "ignore" in the scan engine config, will scan engine recover from these intermittent errors?

Re: Filemaker Pro ODBC

$
0
0

Dont forget to register in C:\Windows\SysWOW64\odbcad32.exe for 32bit applications

and

Control Panel>Administrative Tools> Data Sources(ODBC) for 64bit

 

Re: Filemaker Pro ODBC

$
0
0

image of labview database connection

Re: Export and preserve Unicode characters into Excel and eventually pdf

$
0
0

Paul,

Appreciate the guidance.

 

Please see the attached VI and accompanying test text file as input that demonstrates the issue I'm having.

 

To clarify, I am able to display Unicode characters on the front panel. I'm having difficulty exporting the string data to Excel and ultimately a pdf without those characters getting garbled.

 

Thank you!

Re: Re : Insert image file to word document using active X

Viewing all 202933 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>