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

Installation package Intan RHD2000

$
0
0

Bonjour 

 

Je dois installé le package intan_rhd2000-1.1.1.3.vip (site pour telecharger le package http://intantech.com/RHD2000_labview_library.html) avec Labview 2013. J'ai telecharger le Vi package manager 2014 pour des soucis de compatibilité. 

 

Mais lors du lancement de l'instalation j'ai l'erreur: 

 

VIPM could not continue. Please fix the error and try again. -----
VIPM could not connect to Labview 2013. VIPM requires LabVIEW access as a part of the current task execution in progress.
please verify the VI SERVER : Exported VIs and Machine . ------ "

J'ai ajouté localhost dans les acces machines mais rien ne fais l'erreur reste. 

 

 

Est ce que quelqu'un peut m'aider? 

 

Cordialement 

 

Simon Regal


LED E still remains blinking and error 2638

$
0
0

Hi everyone

 

I have a problem with the NI USRP-2930 , at the LED E still remains blinking  when i run an example program, how I can settle this problem?

 

and i have an other problem with this error :

 

niUSRP Open Tx Session.vi<ERR>A

runtime or configuration error occurred.  

Code: 2638

Details: valueexpr: Timeout after no valid message found

No Message Output in the Callback of the Register Event Callback

$
0
0

Hi Everyone,

 

Good Day. I created a Block Diagram that uses the DLL File of our Customer. I have a Hard time to create it because I dont any background or experience of this level of .expertise that involves DLL FIles. The DLL File is a .Net Assembly type of code. The DLL File will be used for sending specific Commands (i.e. reading Firmware Version, Serial Numbers, etc) using a NFC Reader (Sony S380). That is the only way of communication to the product which is a Digital Watch. The problem is on the Callback VI Ref which involves a Dialog Box & a Message String from the Property Node of "DebugResponseReceived", There is no Message Output But the Dialog Box gives me a a correct message or info that I need to get. If I put a BreakPoint at the Unbundle By Name "e", it gives a message output at the Property Node & the Dialog Box. both the Message at the property Node & Dialog Box have the same Output. Please refer my Code.

 

I will appreciate your help.

 

Thanks,

 

Leo

String Passing

$
0
0

Hi everyone,

I've been having an incredibly amature problem ( [ttom]--------[extreme novice] ). I'm trying to update an old colleague's program who left to include a 2D barcode reading feature.

 

The barcode scanner is setup to act as a virtual keyboard and enters the data into a string box which I then pass to another string box and clear the first one so that the next barcode doesn't get added onto the end of the last reading. But for some reason the first string box clears successfully but the second string is never updated.

 

For the life of me I can't figure out why. The image below is within the main while loop. Tried to look through the internet without any luck, hope you all can help.

 

YouShallNotPass.PNG

Recursive Multiplication based on row and column values

$
0
0

Greetings all, 


I have a 2d array of strings with values one colum representing an item set or subset number and the other being quantity of item in its parent looking like:
1                  2

1.1              3

1.1.1           5

1.1.2          4

1.2             4

1.11           2

2                1

I would like to produce a third colum that shows the total number of items overall (ie 2 of item 1 means 6 of item 1.1, 30 of 1.1.1, 24 of 1.1.2, 8 of 1.2, 4 of 1.11 and 1 of 2) Looking like:

 

1                  2             2

1.1              3             6

1.1.1          5             30

1.1.2          4             24

1.2             4             8

1.11           2             4

2                1             1

I was curious as to if anyone had a suggestion as to best handle the telling LabVIEW how and what to multiply. I imagen a something clever can be done with for and wile loops, but I'm not seeing it.

how to sync pxi-6341 Analog Out to pxi-4304 Analog In

$
0
0

I have a PXIe-1082 chassis that contains a PXIe-6341 and a PXI-4304 module.  I'm outputting a sine wave from pxi-6341.Ao.0 channel to the pxi-4304.Ai.0 channel.  The pxi-4304 isn't capturing any signals until about 75 msec later. How do I sync timing between the 2 modules together to stop this loss of data?

 

(Eventually, I'll be running a digital waveform out of the 6341 and into a device while the 4304 captures analog response of the device. So I'll need to have everything sync'd up.)

 

Thank you for your help,

Ron

Strange 'Read from XML' performance issues

$
0
0

I was recently benchmarking the "Read From XML" VI to troubleshoot a performance problem I am having, and I have found some really odd behavior. 

 

If I generate a large array of clusters, using the code below, the performance is quite acceptable. "Read From XML" takes around 70 ms to process a 4900 element array:

Example1.png

 

Here are charts of the execution time versus array size, and character count versus array size: 

 

Results1.pngStringSize1.png

 

The performance of "Read From XML" drops by orders of magnitude if I encapsulate the array of clusters inside another cluster, like shown:

Example2.png

 

The execution time versus the number of elements, and the string length are below:

 

Results2.pngStringSize2.png

 

So while the string length is essentially identical between the two files, the execution time is 70 times slower, taking almost 5 seconds to process a 4900 element array, when a cluster encapsulates the array. "Unflatten from XML," "Flatten To XML," and "Write XML" all perform well in both cases. 

 

Is there any explanation for this performance hiccup, or tricks to circumvent it?

 

How to convert wav to rso files

$
0
0

I have used a text to mp3 convertor to get mp3 files. I then used itunes to change these files to .wav files. Now i am needing to get them to rso files but the one main thing I am finding online is NeXT Tools to use to convert wav to rso and it is not opening once i downlad it. I am running on OS and any help is appreciated I am running out of time. The end goal is to hopefully have the robot read out the appropriate color of a marble that it see's based on reflected light values. Thanks


MFC control with NI 6008

$
0
0

Hello there and thank you in advance for any responses,

 

(FMA-2109 Datasheet Attached)

 

I have a mass flow controller (Omega FMA-A2109), which can be remotely controlled (0-5V signal) and you also read the flow output (0-5V or 4-20mA output). The controller also has potentiometer on it for the user to control the flow manually. To bypass the manual control, you need to make sure there is no jumper between pin #2&5 of the DB9 connector. My issue is that I can read the flow and control it manually no problem but I'm having trouble controlling the flow remotely. I'm using the NI USB 6008 to read and control the MFC. the manual says to connect pin #2 and 5 to your remote variable voltage source so i just connected to AO 0 and GND of my DAQ. When i change my analog output voltage (verified the voltage changing with DMM), the flow does not change. But i can still change the flow manually with the pot, which is weird. So i'm not sure what's going on. I also tried connecting a variable voltage power supply (instead of using the DAQ) and controlling the flow with that but no luck.

 

Am i missing something? Could this be an input/output impedance mismatch issue? Please advise, thanks!

 

-Serge

Why "Limit maximum instances of this event in event queue" in the Edit Events Dialog Box?

$
0
0

Why would I "Limit maximum instances of this event in event queue" in the Edit Events Dialog Box?

 

Edit Events Dialog Box.PNG

 

I think this is new to LV 2014, but I couldn't find any explaination of a good instance to use this . A search on NI shows only the 2014 Help text, which explains what it does, but not why?

 

Does anyone know of a good case to use this option?

 

Thanks in advance.

Justin Tyme

jTyme Logo - black on white 40 x 40.png

 

Only output a single value from a nested case structure

$
0
0

I am reading a barcode and based on which bars are present, I want to assign a value. I have set up nested case-structures to assign values for each of the possible set-ups of bars that are present. Now i am trying to figure out a way to only output the value of the one case that is true. Is there any way to do this? 

Sum values from array, then take percentage.

$
0
0

New to labview this is probably really simple but I am hitting a road block.

 

I am using a DAQ device to read in 3 values continuously.  I want to take these three values and get the percentage of each one from the total, the output to a graph the %.  I'm not sure how to get the sum of the values from the array.

 

For example:

 

Value 1 = 7

Value 2 =5

Value 3 = 8

 

Sum = 20

 

Value 1 % = 35%

Value 2 % = 25%

Value 3 % = 40%

 

Thanks for any help.

Is possible to return an .exe to a VI ?

$
0
0

I have this issue, i need to recover the VI that I made, but the only file I have now is the .exe, lost my whole program in Labview, is this possible ??? ASP

Measurement issue in Yokogawa WT3000E

$
0
0

I have interfaced WT3000E with Lab view 2013, but i'm are facing an issue in measuring Phase shift. I have measured Voltage, Current, ITHD, User Defined Functions , but when i try to measure  φ U2-I2,  φ U2-I3 in lab view, i'm are getting the Measurement Function but not the value ( i.e., displaying NAN).I have changed the wiring settings toΣA in Meter.  Is this due to Wiring settings, since all other parameters are based on Element1,2,3,&4, whereas phase shift is base on ΣA. Can you please help me to sort out this issue. Thanks in advance.

Is it possible to create several cursors on a graph by importing a table of points?

$
0
0
I would like to create several drag free cursor lines on a graph based on points on an already prepared table. Also, when I drag cursors to a new position, I would like to be able to generate a modified table of points when the cursor position is changed.

Basically I want to generate cursors from a table and also be able to update that table ( or even create a new table) based on the positions of the cursors or by changing cursor positions.

Does anyone have an idea of this is possible and how it maybe implemented?

Thanks .

stepper motor controller

$
0
0

Hello every one....

     Let me help to find a ni  low cost stepper motor controller with supportable of labview programming.....controller will be single axis with low current is also ok....plese share your ideas

   Thank you...

DigitalSartandStopTrigger.vi not working with DAQ USB-6341

$
0
0

Hi,

 
I was using the DigiitalStartandStopTrigger.vi from http://digital.ni.com/public.nsf/allkb/BA775B0E445BFA79482571FE0032CCEB successfully last year to acquire analog data from a NI-DAQ USB-6341 using a PFI trigger rising and falling edge to start and stop the acquisition.  However, I have recently tried to use the same code and I have seen that nothing at all happens - it seems like the atart and/or stop triggers are not seen at all by Labview, but apart from that I cannot really understand more about what the problem is.  As far as I know, nothing on my system has changed since the last time I used the code and it worked.  I am still using the same version of labview (2013) and exactly the same DAQ board. The connections are all good, as I can open NI MAX and see that the PFI port can be read as input (one of the 7 lines is active).  
 
Can anyone help with this?  I am a little bit desperate as i have been trying to solve this for a while but I simply cannot see any reason at all for the code to stop working only a few months after it was working perfectly.  Any advice or suggestions as to how to understand and solve the problem will be very gratefully received!
 
Thank you!
Anna

myRIO Optical Encoder express VI Angular position and speed.

$
0
0

Hi, I am a systems engineer student and I would like some help on acquiring angular position or shaft postion from an encoder connected via myRIO. From using the Encoder express VI, I am able to get the counter values and counter direction. Is it just maths that I need to be able to calculate the shaft position? The encoder I have has 1024 cycles per revolution (CPR).

 

I have searched how to do this, but can only find how to do it with a DAQ assistants, which has the option to measure linear or angular postions. Does myRIO have similar express VIs to this?

 

encoder question.png

openG runtime library

$
0
0

Dear all,

 

First, I made a program (application built in LabVIEW 2012, 32 bit) with OpenG code for free distribution to a governmental public organization "internationally".

I built the application in normal way of LabVIEW function (not OpenG application builder).

 

As shown in the attachment, a switzerland user reported some unexpected error related to OpenG code in the application.

He seemed to install a runtime library from ni.com but he insisted OpenG part of application required some extra run-time library for it.

 

I am sorry not to provide any more information on his computing configuration.

Can you let me know any guide to fix this trouble?

I have never seen this kind of trouble during almost 10 years experience with LabVIEW and OpenG.

 

Best,

 

labmaster.

*)This was also posted on Lavag.org

Limiting the duration of .tdms signals in LabVIEW

$
0
0

I have downloaded the ecg samples from Mit bih database. The signals are converted to .tdms format and then imported to LabVIEW but they seem to have a 30min duration. How can I limit .tdms signals to 1min signals in LabVIEW?

Viewing all 69528 articles
Browse latest View live


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