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

Re: How to add the libXML library to labVEW environment

$
0
0

Not executable VIs (broken run arrow?) will usually tell you what the problem is.

Can you open the error list (click on the broken run arrow, or Ctrl+L, or View >> Error List) and tell me/us what you see?


Re: How to add the libXML library to labVEW environment

Re: How to reduce the execution time of the VI while parsing data from the XML file

Re: FPGA timing different in execution mode and simulation mode

$
0
0

Ok, thanks for the restatement.

 

Looking at your opening images again, I'd be tempted to see if I could rework the 3rd picture (the filter) into a single pipelined SCTL (and remove the outer loop, the For loop and the inner SCTLs). You should then be able to get a clearer statement about the number of ticks required from input to valid output.

I'm not sure how you have all of the nodes configured, so I can't try and really describe how to go about that, or if it's even possible.

 

I will note that writing multiple times to the same FIFO inside a SCTL won't do anything good for you - see the details here: Understanding Arbitration Options (FPGA Module) in particular the end section about "Never Arbitrate" (which is, I think, the only way you could compile multiple writes in a SCTL).

Re: How to add the libXML library to labVEW environment

$
0
0

Ok, so from that image I can see that the errors occur in the top two VIs (the ones with the errors are always at the top, and have a red X mark).

You need to read those errors (the ones with X marks) and fix them, then you should be able to run Main.vi.

At the moment, main cannot run because it needs those subVIs to work.

From 2019 to 2018

$
0
0
Moved to VersionConversion board

Re: How to add the libXML library to labVEW environment

$
0
0

It seems the LibXML DLL issue. I want to know that how I will configure the Libxml.

 is there any procedure to configure the LibXMl to avoid these errors?.

Array fill

$
0
0

Hi guys,

 

I have an array (n rows, 1 column) and i want to create another column and fill it with progressive nombers from 0 to "n-1".

Someone could share with me this .vi?

thanks a lot


Re: Array fill

$
0
0

Hi Gquadro,

 


 wrote:

I have an array (n rows, 1 column) and i want to create another column and fill it with progressive nombers from 0 to "n-1".

Someone could share with me this .vi?


Why don't you share your VI to show what you have tried so far? Where are you stuck?

(Do you try us to do your homework for you?)

 

All you need is:

  1. an autoindexing FOR loop: wire your 1D array as input and wire the "i" value to an autoindexing output to create your "0 to N-1" array (basically the same as ArraySize with a Ramp function…)
  2. a BuildArray node
  3. a TransposeArray node

Other option, even easier:

  1. a FOR loop autoindexing your input array
  2. BuildArray inside the FOR loop, creating rows of the needed index value with the input value
  3. at the output tunnel you receive your 2D array without need for a TransposeArray afterwards

Try on your own and show what you got:

check.png

 

As you are asking very basic questions (also in your other thread): did you notice that "Training resources" section in the header of this LabVIEW board?

Re: Executable using FTP features

$
0
0

Hi Bert,

 

Thanks for the suggestion, I confirm it was 'just' a firewall issue !!!

 

Francis

Re: Executable using FTP features

$
0
0

Thanks for suggestion but the issue was due to the firewall !

Re: Agilent 33522B Waveform Generator not following Labview input values

$
0
0

Hi Craig,

thank you very much for the links you've attacked and they are very useful.

During the work with implemantation of those configurations,

I discovered that the two square signals are not syncronized when I've checked in the oscilloscope.

The signals do not stay still, and I could see on the screen of the oscilloscope, 

the square signal 2 scrolls from left to right.

The content of two .vi, 33522BChannel1 and 33522BChannel2 is the same, the only different between

these two .vi, is the frequency of channel 2 is depending on the frequency of channel 1 and Divider

(divider is any constant >=1).

My question is why the signal in channel 2 is not stable, it scrolls from the left side to righ side,

Any sugguestion to tackle it, thanks.

/mctnnn

 

Re: Cannot connect to SQL databank from a different account

$
0
0

 wrote:

Thank you very much. I will do that but i have to learn sql first. Anyway thank you.


You'll need to learn SQLServer.

 

SQL is not SQLServer. SQL is the language you talk to an SQL enabled database. SQLServer is an SQL enabled database. SQL is pretty standard; used by Access, MySQL, SQLite, SQLServer. You can even make a .txt file ODBC database, and talk SQL to it.

 

If you mix SQL and SQLServer, you will confuse people, and get confusing answers on your questions..

Re: Agilent 33522B Waveform Generator not following Labview input values

$
0
0

I've attached the .vi for my last quesion,

but for some reason, it was denied, 

so I attached the picture of the .vi as .png instead.

/mctnnn

Re: How to reduce the execution time of the VI while parsing data from the XML file

$
0
0

 wrote:

Any update on this ?.


We where all under the impression that you have enough information to get this working.

 

Are there still problems you are facing? Post what you have.

 

You have managed to build the old solution, the new solution won't be more difficult.

 

Creating the entire solution for you starts to look an awful lot like work. We are all helping out people by answering questions online for free, but we do have our own work we need to do to get paid.


Re: Array fill

$
0
0

thanks a lot for the advice! it was so helpful!

 

I started using labview 1 week ago for my thesis but i don't have knowledge about programming and i hope to learn it with practical examples.

 

 

Re: How to reduce the execution time of the VI while parsing data from the XML file

$
0
0

Hi 

I have build the code which way I wanted to read the XML file by using LibXML and the code attached previous thread.

I had some doubts about my code so only I have requested here.

Thanks for your support.

 

How to open password protected VI?

Re: Array fill

$
0
0

Hi Gquadro,

 


 wrote:

I started using labview 1 week ago for my thesis but i don't have knowledge about programming and i hope to learn it with practical examples.


You don't have any "knowledge about programming", but need it for your thesis?

Learning by "practical examples" is fine: LabVIEW comes with a huge example library to study. But still take care of those Training lessons…

Re: How to reduce the execution time of the VI while parsing data from the XML file

$
0
0

 wrote:

Hi 

I have build the code which way I wanted to read the XML file by using LibXML and the code attached previous thread.

I had some doubts about my code so only I have requested here.

Thanks for your support.


I don't think there are obvious problems. I didn't run the code, I don't have that XML toolkit installed.

 

There is a lot of code in one VI though. I'd try to split things up a bit. Depending on how much more of this stuff you have to do, I'd consider a VI (or .vim) that automatically gets the XML from a cluster content from the cluster element labels. If this is it, I wouldn't bother though.

 

It seems you are getting multiple nodes by a query, and than process them in order. Is there a benefit in doing this? I'd keep it simple: get each child node by it's name and parse the result. But this might just be extra work that doesn't pay off in any way. The result will be simpler though, and easier to understand later on.

 

Is it faster?

Viewing all 202933 articles
Browse latest View live


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