Quantcast
Channel: LabVIEW topics
Viewing all 69376 articles
Browse latest View live

Labview FPGA Data Rate control with detector response

$
0
0

Hello All:

 

   I am at my wits end so I put myself at the mercy of the Ni Community. My project is as follows:

 

I have a 9229 Module collecting data at a rate of 50 Ks/S with my CRIO. It is then passing that collected data to the Host Loop. Simultaneously, I am controlling a Spectrometer which is suppose to be moving to specified wavelengths. The object of the exercise is to move to a wavelength, get and sync the detector response (voltage handled by the CRIO) and then plot (graph) the two together.

 

I have tried many things and have the following problems:

 

1. The data rates are always incorrect (seems lagging) when the data is transferred to the host loop

2. I cannot seem to get the correct voltage response to correlate with the corresponding wavelength (either correlate with time stamp, etc)

3. My Data FIFO keeps getting full and timing out

 

 

Attached screenshots of my VIs

 

I tried running loops in parallel but they would not start at the same time. I tried synchronizing them but that was an utter failure.

 

Please Help! Thanks!

 

 


How to determine the size of the data in an excel worksheet using Actice X?

$
0
0

What is the method or property to use to determine the data size of an excel worksheet using Active X?

 

Thanks.

 

Ian

Global replace library path in call library function in multiple project VI files

$
0
0

I am working on a project with many VI files, a large number using a call library function node.  The call library function node makes a specific function call to a C-callable API (DLL).   The single library path has changed and we need to update the path in each node in every VI using the API (DLL).   Is there a tool or a good way to globally search and replace the path string across VI files spread across multiple project subdirectories?

NI 9514 Force Control

$
0
0

I am new to motion control in labVIEW. I have Voice coil actuator I am trying to control using a load sensor as an analogue feedback. 

 

And this thread:

http://forums.ni.com/t5/LabVIEW/Closed-loop-control-in-force-How-to/td-p/1449700

 

I have tried to follow what this person did in their example. But I could not get it to run due to issues with configuring the FPGA reference for the NI 9237. So I modified the approach slightly with two FPGA vi's one filling the data buffer and one for the servo interface but I still modified the PID input to use the analogue input and not the encoder. I get the -63195 error when I run the RT code. 

 

I attached my code for reference. 

 

Has anyone gotten an application like this to work? Or is there a simple way to perform open loop control with the NI 9514? From what I have read it didn't look like the NI 9514 is readily setup for open loop control.

 

 

 

Open .lvappimg application file

$
0
0

recently a vendor sent me a .lvappimg file to deploy on cRIO-9068 and cRIO-9081 . I was curious if there was any way to open this in lab view? I would like to open it up and view the .vi files and actually see the graphical code. Is there any way i can do this?  I have the replication and deployment utility (first time using it). I was also not sure how this .lvappimg file is created in the first place. Is it created within the labview software or the project has to be downloaded to the cRIO then once its retrieved with the replication and deployment utility it just creates this .lvappimg file?

Simulating signal from event structure

$
0
0

Hi everyone!

Is it possible to use the event structure to simulate/change different waveforms?

I've attached my VI.. when I push the button, the waveform changes, but it's locked.. I've already unchecked the "Lock Panel" option in the "Edit Events Handled by this Case" window, but it's still not working.

 

Help?

Thanks!

Porting LV for Windows VIs to LV for Mac (iOS)

$
0
0

Hi all,

 

Applications written using LV 2017 in Windows.

 

Can I just open, develop, run and rebuild in LV for Mac?

 

The Windows application uses several toolkits from the VI Package Manager like from JKI and OpenG etc.

 

Can anyone provide some guidance/advice?

 

Thanks.

Controls display in millimeter units but value in metres

$
0
0

Hi all,

 

Is it possible for control to display in one unit (i.e. mm) but the value is written and read in another unit (i.e. metres)?

 

If so, how can this be done?

 

Thank you.

 


EEG signal processing

$
0
0

Whether labview contains tools to effectively process eeg signal  ???

[VISA Clear in LabVIEW Interface for Arduino.lvlib:Init.vi] ERROR HELP!

$
0
0

Encountered this error when I try to run a simple LED example vi.

Any solution for this error?

I am using a Arduino Uno board.

The board can be recognized as I can see it listed in the Device Manager.

I have installed the latest NI-VISA driver.

I have installed Labview Interface for Arduino and also LINX.

I have installed NI-SERIAL.

Any help is greatly appreciated~

 

Yokogawa DL850 Scope

$
0
0

Bonjour à tous, 

 

Nous venons de recevoir une centrale d'acquisition Yokogawa DL850 et je souhaiterai la piloter via LabView.

J'ai pour cela, dans un premier temps téléchargé les drivers associés via le lien suivant (sachant que je travaille avec LabView 2016):

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=97D0868FF181418FE04400144F1EF859

 

Un technicien de Yokogawa m'a également conseillé d'installer un plugin supplémentaire via le lien suivant:

http://www.ni.com/example/31611/en/

 

Après plusieurs essais, j'arrive à communiquer avec l'oscilloscope via USB et je suis dans la capacité de configurer mes différentes échelles, activer ou désactiver plusieurs channel. Mon problème survient au moment où je veux récupérer ma courbe, j'ai un message d'erreur qui apparaît:

Code erreur : -1073807339

<ERR> YKDL850 Wait for Acquisition Complete.
Timeout expired before operation completed.

 

Avez-vous une idée de comment je peux régler ce problème ?

Je vous joins le VI avec lequel je travaille

 

Merci par avance

regarding converting audio file to readable text

$
0
0

hello, Can anyone provide the vi for converting an audio file to the readable text? I am using LabVIEW 2015.

Dummy IMAQ generator from external software

$
0
0

Hello,

 

I would like to use a LabView program to handle images generated dynamically by another (non-labview) program.
I don't know the best way to achieve that :

-I could stream images from the external program to the network, and just read the images from the endpoitn in LabView. But I miss the documentation of how to binary encode 2D images with width,height,depth so that LabView can decode them (I cannot encode the images in JPG or PNG for performances reasons, I must keep them as raw bitmaps)

-is it possible to create a dummy IMAQ device that would produce the frames as generated by my external program ? And how to do that ?

-any other idea ?

Connecting to a Thor labs Camera through labview

$
0
0

Hi,

 

I am having an issue with connecting to a Thor lab camera (DCC1545M) through labview. Thor labs provides pre-built VIs for interfacing, I am recieving an error calling the method uc480.Information.ToString, this I believe is from the uc480DotNET.dll which I am referencing but does not have much effect.

One concern of mine is that I am using a 32-bit LabView 2012 and I have installed the 64-bit version of thorCam software, the 32-bit will not install on my computer. Does anyone know if this could be causing an issue?

kind regards,

 

Kealan

Possible Caveats running LabVIEW 2017 and NXG side-by-side with LabVIEW 2016

$
0
0

Hi everyone!

 

I just recently made a fresh install of OS and LabVIEW 2016 and converted my project to this version.

Now since LabVIEW 2017 is out, i am curious to try it out, but i don't want to "endanger" my development installation.

 

So, i would like to know if you ran into any problems installing (and running) the new version parallel to your "old" 2016 version, escpecially regarding drivers and in my case needed Real Time Module (for using it with a cRIO-9068).

 

kind regards and thx for your input


Error group for error codes

$
0
0

Hello,

 

I need to get meaningful error group based on error codes like FPGA, RT, Database, LIN and so on for my error handling. Now I threat them as LabVIEW error group. Is there a list avaliable somewhere?

Deployment Problem on cRIO with OOP

$
0
0

Hello Everyone, 

 

I am trying to migrate my LabVIEW code from "My Computer" domain to cRIO one. 

But anytime I try to run, cRIO disconnects while trying to build the necessarily codes. 

I've tried much simple VI's to run and it works just fine. But anytime I insert an Object constant into the VI, I see the same problem. Deploying process just stucks and doesn't take any respond form the device.

 

I drop a screenshot, I hope it explains the problem as well. 

 

Ceknaz

Envirotronics Solutions Plus Controller

$
0
0

I am attempting to write some drivers for an Envirotronics Chamber with a Solutions Plus controller. Has anyone attempted this before? Is there any documentation on how and what to communicate with the Solutions Plus controller?

 

Any help I can get would be appreciated.

Communication with Modbus RTU and Modbus over TCP

$
0
0

Dear All,

a frequency inverter (Hitachi WJ200) is using a Modbus RTU Protocol on RS485. I want to use LabVIEW, running on a computer to communicate with the Inverter. The only way to communicate with the computer is Ethernet, so I bought an Ethernet to RS485 converter (ExpertDAQ EX9133C-RS485). The TCP connection to the converter works fine.

 

I use the "ni lib modbus library 1.1.5.38" for communication with Modbus.

 

I have a questions about:

1. How do I set the adress of the Modbus RTU (RS485) slave?

2. How can I read/write to the slave: I used several Modbus-functions on LabVIEW, but there was allways a time-out-error.

 

Thanks and Regards

Unexpected behaviour of functional global with notifiers

$
0
0

Hi all,

I created a functional global to manage a list of notifiers (see attachment). It returns a notifier reference according to the element name specified as input.

If a new element name is specified, a new unnamed notifer is created (Obtain notifer). If an existing element name is specified, the notifier reference (previouslty initialized) is returned.

This structure is used to manage notifier for classes. Different classes use different notifiers.

 

The first time I call the FG, the notifier is initalized and a valid refnum is returned. The second time I call it, Invalid Refnum is returned.

Why this?

 

 

Viewing all 69376 articles
Browse latest View live


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