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

Proving synchronisation

$
0
0

I am new to labview. In my project, my primary task is to have synchronised transmission and reception using ports of same NI board usb 6356. I have used "dev 3 ao sample clock" for the input port of the same board. You can see this in picture attached.
This method of using same clock for input and output ports is standard method suggested on the NI website.

But before setting up my hardware system, my team and me want to see whether this method is working correctly over long period of time (2 or 3 hours).
How can I prove that there is no mismatch in synchronisation even after running my code for long time???

Aim of my code: To transmit different signals through the output port into the waterpipe and start acquiring the signal (in the input port of same board) in synch with the transmission. Both transmission and reception should start at same time and should remain synchronised untill the end of the experiment. 

 

Please give the answer in detail.

 

Thank you.


closing references of reentrant vi

$
0
0

Hello fellow labviewers,

 

I am struggling to deal with a problem (or as I like to call it "opportunity").

 

I have a program which launches various reentrant VIs, typically around 7 or 8 of them. The problem arises when I want to close each reference of the reentrant VIs, the more time they were opened for, the more time will take to close them.  

 

As you can see in the attached VI, since I use shift registers, i thought that it could take long time to deallocate all the memory used by the registers, but the problem still remains even if I set the maximum size of them to a very small number.

 

Any ideas on why it could take so long to close? (by long i mean even 5 minutes)

 

thanks in advance 

iTAC.MES.Suite

$
0
0

I'm trying to integrate LabVIEW with iTAC.MES.Suite using a .Net library in order to communicate with the MES system. The library is called Imsapi-dotNet7.11.01-2 and I'm having a hard time figuring out the session setup. Does anyone have any  experience with this API? 

 

Thanks in advance. 

 

Marcos.

LabVIEW-Interface-forArduino_Steper motor

access violation 0x0000005 at EIP=0x1002F0C8

$
0
0

Buenos dias:

alguien podria ayudarme con este  mensaje no se por que lo muestra

access violation 0x0000005 at EIP=0x1002F0C8

I've downloaded 2016 so need to put activation which I have for 2015 please help

$
0
0

Hi,

Good things for mastering LabView 2016 with my academic licence pending to upgade from 2015, how can I get that?

Sincerely,

Amir

Combo box with search memory

$
0
0

I need to make a combo box that you can use to search, which remembers the last N amount of searches. It should also be able to remember in between runs and therefore I am okay with a file storage of some sort. I'm not sure of how to implement this however. Any help is much appreciated.

RAD - Deployment of my image fails

$
0
0

I have a cRIO 9076 application with RT, bitfile and webservice running, working fine and all OK when manually deloyed.  I have created an image using the RAD 14.0 utility and need to deploy this to other controllers now.  When I deploy the successfully created image, it ends with the following error log.  Everything copied, but the app is running on reboot and so my customer cannot deploy more copies, which he needs to do in the field.  This error message doesn't mean much to me, but is listed on this page as well.

 

 

LOG FROM RAD:

cRIO-9076 7527 016584EA 00:80:2f:13:34:34 192.168.1.240 SleeveShiftDAQ Kobold Sleeve Shift Detector 1.0.2 100% Error -2147220369 at nisyscfg.lvlibSmiley Frustratedet System Image (Folder).vi:2060001<APPEND>

<b>Complete call chain:</b>
nisyscfg.lvlibSmiley Frustratedet System Image (Folder).vi:2060001
rad_Deploy Images with Progress.vi
rad_Deploy Application Image.vi
Replication and Deployment Utility.vi

 

Status code lookup of error -2147220369

http://zone.ni.com/reference/en-XX/help/373242J-01/nisyscfgcvi/statuscodes/

NISysCfg_EncryptPhraseMismatch -2147220369  The encryption passphrase when applying an image was not the same as when the image was created.

 

This error makes no sense to me, as the RT is using all the default 'blank' passwords, so there is no encryption passphrase.

Any help on this, not sure what else can be done? 


Serving up a webrtc protocol from RT for audio streaming server?

$
0
0

I'm looking at options to do some streaming audio from a cRIO application to a mobile webapp.  I'd like to stay native webapp so was curious if its possible to implement manually the webrtc audio protocol to serve up audio from RT and let the clients then connect with webrtc for the audio stream.

 

Anyone have experience implementing a webrtc server in labview?

Application Builder - LabVIEW Compatibility

$
0
0

Hi all,

 

I like to know if I upgrade me LabVIEW Full to 2016 version, will I still be able to build exe with my Application Builder bought in 2011?

Are two DAQmx tasks allowed on the same input?

$
0
0

Hi,

 

I am updating an old, large application.  As part of it I am incorporating what an external controller (PLC) used to do into the application that used to run on a PC and putting it all into a cDAQ.  I would like to not mess too much with the existing code.

 

To add the old PLC code I need to read and write digital inputs and outputs.  No problems there, all done and working.  It turns out that some of the other code also needs to read some of the inputs (they used to be wired to both the PC and PLC).

 

I would like to keep my PLC replacement code clean and isolated from the rest of the application (as that is how it operates in the real world).  I am OK with the other code reading the inputs where it needs to.  Also, the control code only reads the input when needed so can not provide an up to date value of the input at all times to external code.

 

What I dont know is if it is OK to have two separate DAQmx tasks pointing to the same input.  Or if that will cause problems?

 

Out of interest, how does one normally synchronise say a seperate control and measurmement task?

 

I could if I get stuck wire to two different inputs externally to the same sensor...

 

Thanks in advance

 

Ashley

 

Measuring a specific point from signal

$
0
0

I'm new to Labview and currently am trying to measure a specific point from a the simulate signal express VI. For example if I simulate a sin wave and I want to know the amplitude at 1 second how would I do this?

key down event on a graph

$
0
0

Hi everyone,

 

I am trying to trigger several events (autoscale, zoom) on a graph by key down event when my mouse is on the graph. Is that possible?

 

I attached an vi to demonstrate the issue.

Voice Activity Detection (VAD)

$
0
0

Hello,

I need to deal with VAD.
I have recordings where speech and noise together and worked here GSNR, which is calculated from the entire signal, but if you still need to create SSNR so arises the problem of how to create algoritumus that recognizes speech (VAD).
He would have me there is someone able to deal with this problem?
I am a beginner in LabView and I do not know but substituting council.

Thank you.

Execute Straigh-Line Move Function block "all the time"

$
0
0

I am using the Softmotion module to control my Solidworks Assembly in Labview. I am using the vitrual motors that are connect on the resource on the Straight-Line Move block. I want to execute the block "all the time" so my Solidworks simulation will always update. Anyone got an quick easy tip on how this is possible?

 

Thank you!


How to change colors of OK button with properties

$
0
0

Hello,

how can i change the two colors of the ok-button with properties?

I found the colors property that returns (when read out) an array with 4x2 numbers.

Somewhere was an color-constant where you can pick the color and are not using the numbers...

 

Thanks for help

Poperty Node System session -> Hostname responding with DNS name?

$
0
0

Hi there,

 

in the attached snippet, the Poperty node will reply with the hostname (i.e. "HelloWorld") when deployed from the development GUI - which is correct - and with the DNS name (i.e. "HelloWorld.local") when deployed stand-alone to the RT system (sbRIO 9627 in my case). Is this an intended behaviour? If yes, why would I want the property "hostname" to not reply with the hostname? How do I retrieve *only* the hostname?

 

TY!

Code optimization

$
0
0

Hey guys,

 

So i have this super simple code to time 3 led in sequence. I am quite sure that there is a much simpler and elegant way to do it. 

 

your suggestions are much appreciated.

 

Using table data to change numerical control values over time

$
0
0

In my labview programme, I am looking to change a numeric control's value over different time changes instead of manually changing the values which running the system.

e.g.

numerical value = 5    hold for 5 second

numerical value = 7.2 hold for 2 seconds

numerical value = 15 hold for 1.5 seconds

 

This list can be long, and I want to input it into a table in Labview and have the 2 columns (numerical value and time duration) to be linked to two numeric controls on the programme. The commands will run in a sequence, so once the time duration of the first row is finished, it will move on to the second row and change the value to 7.2 for another 2 seconds and so on.

 

Is there anyway to connect a table to numeric controls? And then later change the data in the table to run a different sequence.

Thanks for your help.

Click on Labels not generate event

$
0
0

Hello everyone,

 

I would like to generate an event when a user click on the label of a Boolean control.

I often have clients who try to click on the text of the control rather than the image of the control itself.

Normally, we can simply do this by create a mouse down event on the control.

 

The problem that I face is that my control is a strict type def.

I discovered that, for labview 2012 (maybe for others), the label and the caption does not belong to the control if the control is a type def.

i.e. labview will not fire an event (mouse in / mouse down / ...)  on the label (or caption) if the control is a type def (or strict type def)

 

I was wondering if something clever can be done to fix this.

I have already considered to put a transparent control on the top of my label, but I was wondering if something "cleaner" can be achieved.

 

I am currently working on Labview 2012. v12.0f3

Windows10

Thanks,

 

Nick

 

I do apology if this topic is already created, I have tried to look on the forum before posting.

I have also tried to look in bugs registry. But I didn't find anything related to my problem.

Viewing all 69758 articles
Browse latest View live


Latest Images

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