LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PWM

Hello NI community, I was working on a project using LabVIEW I used a code that I saw in NI Forum, and while modeling the thrusters of our AUV (Autonomous Underwater Vehicle). there is one block that I couldn't find it in the library if anyone knows how can I find it or has a block that can perform the same task please reply in the comments.

 

I'll attach the picture of the block I'm looking for. I'm searching for the blue block on the left exactly. 

0 Kudos
Message 1 of 9
(561 Views)

It would help to include a link to the forum post where you saw it.

 

Are you talking about the dark blue subVI or something else?

 

Looks like a home-made subVI. It takes a single input (1500) and outputs a frequency and duty cycle.

From the description, it probably also scales something by 1M (input value in micro units to direct units?) but it is hard to verify without additional information.


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 2 of 9
(524 Views)

Here is the link:  https://forums.ni.com/t5/Showcasing-Student-Innovation/Search-and-Find-Autonomous-Underwater-Vehicle...

You will find it under "VI code snippets". 

 

Yes, I'm talking about the dark blue subVI, also by home-made do you mean that this block isn't available in LabVIEW? 

0 Kudos
Message 3 of 9
(511 Views)

@Ahmed32 wrote:

Yes, I'm talking about the dark blue subVI, also by home-made do you mean that this block isn't available in LabVIEW? 


Thanks for the link. Since these images are LabVIEW snippets, you can download and drag the image into a compatible LabVIEW diagram (LabVIEW 2017 or higher in this case), and it will turn into code. Of course most subVIs are not found, but at least we can get the name of the VI.

 

altenbach_0-1600588145608.png

 

The bland icon and unusual filename makes me believe that is is a custom VI. Have you tried contacting the authors. The chances are near zero to recreate all this code from a few pictures.


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 4 of 9
(464 Views)

If you have a tutorial or a guideline on how to turn images to code that would be so helpful. 

 

I tried to reach out to the author, but I didn't get any reply I will try that again and I will inform you if I find any useful information. 

0 Kudos
Message 5 of 9
(449 Views)

Hi Ahmed,

 


@Ahmed32 wrote:

If you have a tutorial or a guideline on how to turn images to code that would be so helpful.


  1. Click the image to open it in the forum's image browser.
  2. Use the download button below the image to download it to your harddrive.
  3. Drag and drop the image file into the block diagram of you LabVIEW VI…
Best regards,
GerdW


using LV2020 on Win8.1+cRIO
0 Kudos
Message 6 of 9
(437 Views)

@Ahmed32 wrote:

If you have a tutorial or a guideline on how to turn images to code that would be so helpful. 


You cannot turn images automatically into code, but if the image is a LabVIEW snippet, there is embedded metadata that contains the code.


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 7 of 9
(432 Views)

Thank you Very much, ill try to do that and I hope it works for my case. 

0 Kudos
Message 8 of 9
(421 Views)

Thank you very much, ill try to figure it out. 

0 Kudos
Message 9 of 9
(420 Views)