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

Re: Weight management

$
0
0

Thank you. How do I initialize the maximum weight, without causing trouble to the shift register's value? While the rest of the work involves only weight of baggage and the weight available.


Re: Issue in calling a class and VI dynamically from exe

$
0
0

Hi Balaji,

 

I used to do this kind of plugin method in my earlier projects but I'm getting the similar error what you have posted.

 

I have tried with PPL.  I have attached it for your reference.  I'm able to dynamically load different child classes which are included in PPL while building executable.  However, later when I update the PPL with new child (extension) and use the new PPL in existing EXE, I'm getting Error7 (file not found).

 

I'm also looking for this solution for one of my application.

 

Thanks,

Ajay.

Re: Weight management

$
0
0

define what you mean by "trouble". You can initialize the shift register with the max if that's what you want.

Re: Issue in calling a class and VI dynamically from exe

$
0
0

Is there any other solution other than using PPL or Source distribution?

Re: Digital to analog conversion labview

$
0
0

Hi ykgr,

 

where do you "insert a 100Hz frequency"?

There is no "frequency" in your last image of your blockdiagram!

Re: find missing dot

$
0
0

for hot pixels? i tihnk i dont understand your question. please describe more

Re: Can I transfer data through FIFO in two different myRIO FPGA Targets?

$
0
0

Hi GerdW,

First of all thanks for bearing with me. You are saying that I need to implement some code for synchronizing but how should I? What should I do? Some are saying that myRIOs are not designed for the syncing purposes. That's where I'm lagging. I don't know how to implement the syncing? Do you have any idea?

 

With gratitude,
Ahmad.

Re: Input byte data to write serial command vi

$
0
0

Hi GerdW and RavensFan,

 

I've tried your suggestions but still to no avail. The VI i attached is what i've done and logically it should be right. However, i'm only able to write the command to the device but i can't read a reply. Below is my VI and could you please help me check if i'm missing out anything? 

 

@GerdW i've tried using only the manufacturers software and it could work there however, when i downloaded a software called TMCL - IDE, it couldnt set up a connection with the device itself at all even though it's suppose to. 

 

The is one of the instruction for the binary communication format and from what i'm seeing its the same as output to my vi. A timeout of the read vi has been stopping my program and i'm not sure if its taking too long to read from the device as its baud rate is suppose to be at 9600. I've research and think its should be okay to read 9 bytes in 9600 baud rate but i'm not sure. 


Re: Get data from a 2D array following the elements selected in a menu ring

$
0
0

Hello,

 

You find attached what i have done, As an input, i put a constant array analog to the file i'm working on.

I succeed to have the rows indexs by searching "NORMES" in the array , but for the columns indexs, i have as imputs a list box of the orders and the initial array,  so when i have more than one order selected, i have to get the indexs of the columns where there are these orders.

for the example attached here, if i select  order 1 and order 24 in the list box i must have a 2D array (line-column): { (5,0) ; (5,4) }, then have the values correspondant to these orders from this indexs array.

 

Thank you for your help.

Re: Get array index by mouse click

Re: Can I transfer data through FIFO in two different myRIO FPGA Targets?

$
0
0

Hi Ahmad,

 

maybe you need to implement something like a PLL when you want to keep your 2nd myRIO in phase with your 1st one?

Re: Issue in calling a class and VI dynamically from exe

$
0
0

Hi all,

          I have fixed the issue. Please find the attached modified demo zip. Please refer to LabVIEW Help to understand the root cause of this issue.

LabVIEW Help -> Fundamentals -> Working with Projects -> Concepts -> Using Source Control in LabVIEW -> Facilitating Source Control by Separating Compiled Code from VIs and Other File Types.

Now to fix the issue All did is removed the check box as shown in the image below (and saved the VI) in the VI lib and copied the files next to the exe.

Capture.PNG

i have some problems with USRP device

$
0
0

i am using two Usrp 2920 devices and two omni-directional antennas with  labView software ,so when i transmit a signal the receiver receives the transmited signal as well as the reflected signal. Is there any method to block the transmitted signal and recive only the reflected one.

filtering out the delayed signal

$
0
0

i am using two Usrp 2920 devices and two omni-directional antennas with labView software, so the receiver receives two composed signal one of them is delayed and i want to filter out the delayed one.

Re: Input byte data to write serial command vi

$
0
0

Hi Jarrold,

 

why do you use InsertIntoArray when you want to build an array?

check.png

Your "Control 4 Bytes" doesn't fit to the ROR description in your manual snippet.

 

A timeout of the read vi has been stopping my program and i'm not sure if its taking too long to read from the device as its baud rate is suppose to be at 9600

The timeout occurs because you don't receive an answer from your device (most probably)…

Reading 9 bytes at 9600baud just takes ~10ms.


Re: Conrad 393905 4x Relay Board

Re: Analog input-output FPGA

$
0
0

OK, I will do like that.

Thaaank you !!

Re: Write data to file every 10 (or N) loops

$
0
0

I know its a very late reply but I have the following way of writing a specified set of data points to a file with continuously running loops.

I am doing it so that I can aquire data at 1000Hz but only save at 100Hz etc.

My appoligies if my explanation is slightly off im not the greatest programmer.

 

You need to use Producer consumer loop architecture and que the data to be saved.

vi's used;

Insert into array - Builds array from unqueued data

Transpose 2D array - Transposes (to enable columns now rows to be counted)

Index Array - Seperates top row (one value from every column)

Array Size - Shows how many values in top row (i.e how many columns)

Delete from array - Clears array

 Save every N samples.png

 

 

Re: Error7 occurred

Re: Programmatically change plot legend

$
0
0

You just have to hard code it in there, you can't access it from within the case structure. It's not ideal but it'll get you what you want quickly.

Viewing all 202336 articles
Browse latest View live


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