LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plot 2's compliment

Solved!
Go to solution

Yes I will please give me a days time. Need to go to lab tomorrow and do it. I will asap.

 

Thanks for the help so far.

 

 

Abhilash S Nair

Research Assistant @ Photonic Devices and Systems lab

[ LabView professional Development System - Version 11.0 - 32-bit ]

LabView Gear:
1. NI PXI-7951R & NI 5761
2. The Imaging Source USB 3.0 monochrome camera with trigger : DMK 23UM021

OPERATING SYSTEM - [ MS windows 7 Home Premium 64-bit SP-1 ]
CPU - [Intel Core i7-2600 CPU @ 3.40Ghz ]
MEMORY - [ 16.0 GB RAM ]
GPU - [ NVIDIA GeForce GT 530 ]
0 Kudos
Message 11 of 23
(1,155 Views)

The below attachment shows:

 

1. The actual waveform generated by another software ( displayed as two's complement formaty )

 

2. The waveform in my labview

 

3. the code showing the output connecting to the waveform ...

Abhilash S Nair

Research Assistant @ Photonic Devices and Systems lab

[ LabView professional Development System - Version 11.0 - 32-bit ]

LabView Gear:
1. NI PXI-7951R & NI 5761
2. The Imaging Source USB 3.0 monochrome camera with trigger : DMK 23UM021

OPERATING SYSTEM - [ MS windows 7 Home Premium 64-bit SP-1 ]
CPU - [Intel Core i7-2600 CPU @ 3.40Ghz ]
MEMORY - [ 16.0 GB RAM ]
GPU - [ NVIDIA GeForce GT 530 ]
0 Kudos
Message 12 of 23
(1,138 Views)

Since your data seem to wrap at around 64k, it seems that the correct representation would be I16, NOT I32.

 

Can you attach a VI that contains the I32 array with real data in the bad waveform graph? SImply take the VI, run it so the graph shows data, "right-click the graph...data operations...make current values default", save under a new name and attach the VI. If you want, you can delete all code except the graph terminal.

 

Maybe split the I32 number and cast the lower half to I16, for example.

0 Kudos
Message 13 of 23
(1,122 Views)

here it is , I hope this is what you asked for.

Abhilash S Nair

Research Assistant @ Photonic Devices and Systems lab

[ LabView professional Development System - Version 11.0 - 32-bit ]

LabView Gear:
1. NI PXI-7951R & NI 5761
2. The Imaging Source USB 3.0 monochrome camera with trigger : DMK 23UM021

OPERATING SYSTEM - [ MS windows 7 Home Premium 64-bit SP-1 ]
CPU - [Intel Core i7-2600 CPU @ 3.40Ghz ]
MEMORY - [ 16.0 GB RAM ]
GPU - [ NVIDIA GeForce GT 530 ]
0 Kudos
Message 14 of 23
(1,114 Views)

sorry this one!

Abhilash S Nair

Research Assistant @ Photonic Devices and Systems lab

[ LabView professional Development System - Version 11.0 - 32-bit ]

LabView Gear:
1. NI PXI-7951R & NI 5761
2. The Imaging Source USB 3.0 monochrome camera with trigger : DMK 23UM021

OPERATING SYSTEM - [ MS windows 7 Home Premium 64-bit SP-1 ]
CPU - [Intel Core i7-2600 CPU @ 3.40Ghz ]
MEMORY - [ 16.0 GB RAM ]
GPU - [ NVIDIA GeForce GT 530 ]
0 Kudos
Message 15 of 23
(1,110 Views)

Your graphs still do not contain any default data as instructed.

0 Kudos
Message 16 of 23
(1,105 Views)

Sorry ... is this what u wer asking for ? I dont see any options called data operations when I right click. But this is how I could export the data

Abhilash S Nair

Research Assistant @ Photonic Devices and Systems lab

[ LabView professional Development System - Version 11.0 - 32-bit ]

LabView Gear:
1. NI PXI-7951R & NI 5761
2. The Imaging Source USB 3.0 monochrome camera with trigger : DMK 23UM021

OPERATING SYSTEM - [ MS windows 7 Home Premium 64-bit SP-1 ]
CPU - [Intel Core i7-2600 CPU @ 3.40Ghz ]
MEMORY - [ 16.0 GB RAM ]
GPU - [ NVIDIA GeForce GT 530 ]
0 Kudos
Message 17 of 23
(1,097 Views)

@abikutn wrote:

Sorry ... is this what u wer asking for ? I dont see any options called data operations when I right click.


The option is only available in edit mode, i.e. after you stop the VI.

0 Kudos
Message 18 of 23
(1,089 Views)

Ok now I get what you were saying. Apologies since I am new to LV.

Abhilash S Nair

Research Assistant @ Photonic Devices and Systems lab

[ LabView professional Development System - Version 11.0 - 32-bit ]

LabView Gear:
1. NI PXI-7951R & NI 5761
2. The Imaging Source USB 3.0 monochrome camera with trigger : DMK 23UM021

OPERATING SYSTEM - [ MS windows 7 Home Premium 64-bit SP-1 ]
CPU - [Intel Core i7-2600 CPU @ 3.40Ghz ]
MEMORY - [ 16.0 GB RAM ]
GPU - [ NVIDIA GeForce GT 530 ]
0 Kudos
Message 19 of 23
(1,087 Views)
Solution
Accepted by topic author abikutn

Yes, using the lower half as I16 graphs the data correctly. (maybe the dll node and it's code is configured incorrectly, no way to tell).

 

 

(The attached VI has the data from your graph as diagram constant.)

 

Download All
Message 20 of 23
(1,081 Views)