Quantcast
Viewing all 69213 articles
Browse latest View live

rf list mode

HI all,

 

Sorry for this generic question, I've tried to google it, but unfortunately I couldn't found any answer, I was wandering if there is someone can help me to know the difference between RF list mode in RFSA and the list mode in RFSG and when can I use both of them.Thanks in advance


Stopping a while loop that is dependent on another a case structure.

I have done a lot of resarch about this and i think i have narrowed down the problem very precisoucly. I want my user to enter a password and if the password is correct the alarm shouldn't sound. But if it is wrong i want the alarm to sound. The problem is i have no way of telling the alarm to stop the sound when the user inputs because the sound is locked in a while loop Image may be NSFW.
Clik here to view.
Smiley Sad
. I can't seem to make this while loop stop for some reason when the user inputs a new number. 

I would be very grateful to you genous people if you could help me here. On the VI i have stated where the problem is. (The problem occurs within the inner while loop). 
If you guys have any questions please let me know and i will try and answer them to the best of my abilities. 

I have a series of vi's for a system that contain over 200 Formula Nodes. Is there a way to do a data dump of the contents of each of those formula nodes?

I inherited a rather interesting project that contains over over 100 vis and sub vis, and over 200 formula nodes.  The version of LabVIEW that we are running is 7.1

In anticipation of doing some wholesale changes to the vis, I am trying to document what is currently there.  So far the only way I have figured out how to document the formula node contents is by doing a search for formula nodes, navigating to each individually, then copying and pasting the contents of the formula node into Word.

Is there an easier way to do this?  Is ther a function within LabVIEW that I am missing?

Any insight is greatly appreciated.

Thanks

knob loop

How do I prevent a knob ring cell from rolling over when using the incrimentors? In my picture I would like to be able to use the incriment button, but if I incriment from the top, or decrement from the bottom have nothing happen. To be clear I don't want to be able to loop directly from 100 ns to 10 ms on this setting. Also, is there a way to set a property to limit what value the knob can output? For instance flip a switch and have properties in a case structure that would say "This can only output 100 ns to 500 ns".

 

Thanks.

How to connect with bluetooth CSR8670 chip

I have a periphal device that has a CSR8670 Bluetooth chip on it. I have it collecting data and sending it to an anriod app on my phone, however, I would like to skip the phone and send the data directly to my PC running labview. Can labview connect to this bluetooth device? I have had some trouble with doing so.

Link to 

http://www.csr.com/sites/default/files/csr8670_bga_technical_overview.pdf

 

How do you handle linear calibration?

I have a few sensors (Dexcom G4 glucose sensor) that have fairly linear response curves, but I'm having trouble calibrating them. I'm calibrating using a device (YSI 2300 stat plus) that's within +/-1% of the true value. My current scheme:

 

  1. Least squares fit
  2. Calibrations older than 4 hours get dropped
  3. No weighting of values in time

I'm seeing that with this current setup, if we get a "bad" calibration value, the entire calibration can be off for a long time. Ideally, I wouldn't need to calibrate more than once every 4 hours, and new calibrations would greatly outweigh the old ones.

 

Here's a snippet of a weighted/nonweighted calibration scheme with geometric precedence of newer values. How would you handle this?Image may be NSFW.
Clik here to view.
calibration.png

arduino

Hello All,

 

I have a VI which will collect data from arduino UNO board. But I want the same VI to read multiple analog inputs using VISA.

Could anyone help me out with a VI which willl read multiple analog inputs from arduino

Unable to print the report in Labview engine , while the same thing is happening for the normal software function

Hi guys,

       I am using Labview 2011 software. While developing the program i used the standard Print repot.vi . This function is working fine in the software but while i try to run the program on Run time engine  ( i.e as application) the reports are getting generated while the entire program is working well.


Display multi-WaveformGraph and only one was blinking

Hello everyone
please see the attached file TestFolder.zip

Test.vi is TopVI.
SubVI _Timewave.vi contain 20 subpanels , and each sublpabel insert the same VI(WaveformUnit.vi) for waveform display. 
TopVI inset the _Timewave.vi with subpanel,  and waveform data is updated each second.

Only LeftTop waveformGraph has blinking problem. Please give us your advice.

Reference Functional Global Variable

Hello everyone,

 

I want to refresh the value of the Indicator Element in the main VI, I don't want to use the global variable, because of the race condition problem. So  I build a functional global variable with control reference. Is it reliable and can I avoid the race condition?

 

I have attached two Test VI.

 

Thanks for your advice.

Timed loop or while loop on RT/Host

Hey guys,

 

I am using a myRIO and a new windows tablet with LV13 f2.

 

At the moment I use both while and timed loop parallely for data acquisition on RT, transfer from RT to Host, editing data on host and data logging on host.

 

My question now is, as these loops shall run with a different rate, should I use timed loops or while loops when I only use the "dt" pin of the timed loop or the "wait for multiples" function in the wile loop?

 

Or is timed loop only usefull if I want to add priorities and so on...?

 

kind regards

 

Slev1n

polar plot modularity

Hi, 

 

How to run Entire Polar plot once at initialising stage of running the Vi.

Now my polar VI is placed in a while loop. and at every scan entire polar plot's angle lines, grids, lables are plotted.

After cirtain time exe gives error of i.e. drawmgr.cpp and exe abort its function.

So please share some ideas for modularity of Polar Plot VI.

 

This is the snapshot of Error. How can we solve this error?

 

Image may be NSFW.
Clik here to view.
Untitled.png

synchronize devices express vi niFgen and niScope

Good morning,

I am currently struggling with a small programm that should send a burst (this VI has been created and checked) to a transducer and the signal should be acquired then by a sensor that is linked to the digitizer. I am thus using an AWG slot, a digitizer slot (PXI 5122) and also the amplifier slot. 

In order to have in the end a program as simple and compact as possible, I have used the express VI niFgen and niScope for the devices I am using.

The problem concerns I think the synchronization of the devices regardeing the trigger. How to proceed with those express VI ? I have looked for answers and I have not found anything.

Is there any possibility with those express VI to do it or do I have to proceed  the "long" way with the normal niFgen VI and niScope successions?

I thought it would be a problem of clocks, but I must admit I can't figure out which clock to use between all the one that are suggested to me (reference clock, sample clock, internal, external, TClk, onboard clock, PXI clock, RSTI...).

What should I do ?

 

Thank you in advance,

Alexlelion

How , from an IMAQ image turned into Array, split it in two pieces , and show them as IMAQ image after ?

Hi

 

I am currently using the IMAQ vi's to get an image in real time out of a camera with 1024*1024 pixels.

 

What I am trying to do is :

 

1) Get the IMAQ image ( OK )

2) turn it into Array ( OK )

3) Get 2 smaller arrays ,each containing half the rows, one the top rows, the other one the bottom rows (not OK )

4) Do some calculations with those arrays ( multiplicate / divide them ) ( not OK )

5) Show the array resulting of the calculations as an XY pixels map just like the first IMAQ image i had ( not OK )

 

Could you please guide in the resolution of this ? I am litle confused ...

Step 3), I figured out that using the "Delete from Array" VI could be the right one, but I do not understand how to select half the rows ( top or bottom )

Step 4), I think I will not have problem to do this.

Step 5) this one I am lost, I can only plot some waveform out of this, but never a XY pixel map like the IMAQ

Thak you !

 

Problems with references on cRIO as startupApp

I'm having some trouble with my programs running as start up applications on different cRIO's.

The problem is that it takes too long to load the references correctly (or load at all).

 

In the attached screen shot, there are two tabs that i set the enabled state on. Page 1 is to be set as "disabled and grayed" and page 2 to "Enabled".

The upper reads the pages reference directly and updates the tabs. This does not work, as the reference array is empty.

The lower one, waits for the reference array to become a non-zero array. After some time this occurs and the while loop stops.

 

The right part of the screenshot is from the web-server running the program. When i press Start on my computer (but still being run on the cRIO), this is not a problem.

 

For larger programs it is very difficult to detect if the references are updated or not. Is there a method to wait until everything is ready before the code executes?


Unable to resolve conflict in project dependencies

I have a, what appears to be, an empty vi but as soon as I put it in a project a conflict appears in the dependencies. It is a LabVIEW 2010 vi which I added to this post. So when you create a new and empty LabVIEW 2010 project, add this vi to the project you should see this conflict in the dependencies. Any idea how to resolve this?

 

I added this vi also to a labVIEW 2015 project but when I save the vi the dependency disappears so there is a difference in behaviour.

Why LabVIEW allows characters within Numeric control

Why LabVIEW allows characters (Key down) within Numeric control,

 

Image may be NSFW.
Clik here to view.
NumericControl.png

 

When I hit Enter button, it’ll clear all the characters and returns to 0.

 

My question is why does it allow specific characters(not all)?

How do I check if a TDMS file has been defragmented?

I have a test software producing data. The data is copied over night to a server. 

 

Normally the TDMS defragement function is done by the test software before the data is copied during the night, but sometimes this does not happen.

 

I want to be be able to look at the TDMS file and check wether is has been defragemented. If I can't find the simple solution I will have to put a flag in the folder with the data to indicate if the defrag was completed or not. I would rather not do this if there is a simple check.

 

 

integration

Hello,

I'm a beginner in LabView and have a question regarding integration from an x-y graph. I'm trying to get a hysteresis loop for various frequences from collected data in Labview. In order to do that I have to integrate function dM/dt(H), where dM/dt is a time derivative of magnetization, and H is magnetic field strenght, to get function M(H), i.e. hysteresis loop. I have separated both signals and send them to x-y graph, but don't know how to integrate data from that graph to get hysteresis loop (please see the attached picture). I'd like to show integrated data on another x-y graph.

 

Data are collected using following hardware:

-PCI-6014 card

-Tektronix AFG320

-NI BNC-2090

-4 coils, BNC cables, ferromagnet, wires

 

Thank you for your time.

Hrvoje

 

 

State machine

Hello,

 

I am wirting a code for an experimental setup using the State Machine project template.

 

In the "idle" state, I would like to display a sort of device front-panel: I want to continously read data and update several indicators, as long as no button is pressed (triggering the event structure in the "idle" state).

 

However, as I want to set the buttons (boolean controls) to "Latch when pressed", I cannot get any values from them. I do not want to switch them to "switch when pressed, as this is both a bad UI (in my opinion) and caused some trouble (after returning to the idle state, can't press any other button).

 

I would greatly appreciate any guidance on how this can be done. Attached is an image of what I'd like to do, to further demonstate my intention.

 

Thanks!

Viewing all 69213 articles
Browse latest View live


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