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

Re: control 8 channels, with microsecond precision, outputs only

$
0
0

P.S.  I found it easier to reference the digital counter pulse instead of an analog input sample clock, both are capable of a 1MHz frequency so this should not be a major factor correct?


Building an array from values in two structures.........

$
0
0

 

Hi, 

I am working on an application that loads one of several VIs into the subpanel control on the main window. Each VI displays a certain part of the main system

The user  types the name of the VI and by presses return or enter(Num Pad) key . Any VI that is loaded has its ID saved in an array. This to allow

the user to move back and forth through displays loaded so far in a session. By using shift registers the array builds fine. 

 

 Some of the newer VIs have butons that open a detailed diagram etc for a particular component. This is straightforward using an even structure however the

IDs of these 'subdiagrams' loaded through a mouse event also need to be saved in the same array. Essentially I am trying to combine VI   IDs from a case structure (key press) and an event structure handling mouse events.

 

Any suggestions would be welcome

 

The 'Generate User-Defined Trace Event Function' node crashes when used in a subvi and executed in an actor framework based project

$
0
0

Hi

 

I tried to debug a sample project based on actor framework in LabVIEW 2013.01.f2 with desktop execution trace toolkit.

I've added some instances of the 'Generate User-Defined Trace Event Function' to get the trace of functions. As this node does not have an error chain I've wrapped it with a simple VI that provides such error chain. Makes it easier to enforce execution sequence...

That wrapper VI is stored in a subfolder of user.lib

HOWEVER: When I run this program with the wrapped VI it crashes. But if I put the 'Generate User-Defined Trace Event Function' node in a sequence it does NOT crash...

Re: Discovering number of physical channels

$
0
0

Found it!

 

Measurement I/O -> NI-DAQmx -> Advanced -> Task Confi... -> Task Node -> NumChans (Number of Channels)

 

 

averaging images

$
0
0

i have found an averaging example in the labview interfcae, the example averages the set of images in order to rduce the noise in the image. in the example the input is linked toa set of images within the labview directory on windows, i have tried to change the directory in the labview vi to point to a different foldr using LIST FOLDER but it creates a problem when i try to use this list folder to point to a different directory, if you could check through and see that would be a big help. thank you very much

Re : Agilent E4440A display line and screen capture problem.

Re: receiving sms using labview

Re: Problem updateing time from internet


Re: For Loop runs with unwired N value

$
0
0

Why not post an image of the entire for for loop?  It seems you are stuck on the N being wired, but as others pointed out the N terminal is not the only control for how many iterations the loop runs.  Try posting a complete image if you are looking for help.

Re: Building an array from values in two structures.........

Re: CCTV

$
0
0

Didn't got you, what you meant by this?

cell height table

$
0
0

Hello,

 

I want to create a table with 1 column and many rows programitically where I can able to change the height of each row. Somehow I am not able to do the same in LV2011. Please ccan you let me know the reason, why I am not able to do it ?

 

Thanks in advance !

Re: cRIO-9073 Software Error

$
0
0

I reinstalled the software and once agian if i installed everythign i recieved the same error.

I then reinstalled with everything except the Web features.

And everything is working.

So I uninstalled everything and installed just the Web features.

However i recieved no errors.

 

So some combination of the Web features and the other software causes the error.

I currently dont have enough time to troubleshoot this further.

Would be nice if NI could address this issue.

 

Re: receiving sms using labview

$
0
0

HI Jospeh,

 

on the page 3 of this post you can find my test program for receiving SMS messages live. Change some parameters of the Init subVI according to your modem (baud rate, handshanking,...). Start the program than send SMS message and modem will read the sent message. With this program you cannot read already received SMS messages. For reading these SMS messages you shoud use List command. Go to my site https://sites.google.com/site/tstalevski/listing-sms-messages to download subVI for listing SMS messages.

Re: Labview interface with MongoDb or similar NoSql database

$
0
0

Yeah. It did work! Thanks a lot!:smileyvery-happy:


Re: For Loop runs with unwired N value

$
0
0

PauldePaor wrote:

Below is a program I am working on and as you can see by the image that the program runs without the N loop being wired. The program runs with no issue


As everyone else has been saying, you DO NOT have to wire something to N.  If you wire an array to the for-loop as an "auto-index" input, the for-loop will automatically run for the size of the smallest array.

 

Perhaps an example will help:

 

fotloop.png

 

This loops over the size of my array (in this case, 5 elements long).  The symbol on the edge of the for-loop that looks like brackets [ ], indicates that it is auto-indexed.  The loop will iterate over each element one at a time (1, then 2, then 3, then 4, then 5).

Re: Generating and Acquiring at the same time, DAQ USB-6356

$
0
0

MaxLamb wrote:

Hi Jeff,

 

Yes that was that. But I don't know why I had +10% of frequency when the settings are 1.25MS/s and 3MS/s ..

 

 

 


I'll leave solving the math to you but I'm almost positive you could justify the aliasing you saw by applying the Nyquist-Shannon theorm

 

And from a previious post the error was @1%

Re: Using Open FPGA VI Reference in a distributed VI

Re: network stream Two network adaptor cards in PC comms with crio

$
0
0

Hi leapingfrog, 

 

Do you have any kinds of string to path functions in your code?  Error 1430 is one most commonly seen in typecasting strings and paths which don't quite match the syntax required for TCP on a VxWorks controller, for example, as described in this KnowledgeBase article: http://digital.ni.com/public.nsf/allkb/0D6D5696E481E4808625749800497EA1?OpenDocument

 

You can find if your cRIO is VxWorks here: http://digital.ni.com/public.nsf/allkb/35F1FD98520D6E0E8625783A005AF557?OpenDocument

 

Hope this helps!

 

Best wishes, 

Re: cell height table

$
0
0

Some method like this?  The attachment is saved for 2011 sice that version is not installed on this machine I cannot see if there is a real problem with the methodology in 2011

Example_VI.png

Viewing all 202521 articles
Browse latest View live