LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview crashes when building 1d digital waveform

Hello,

 

I don't know if it is something about my machine or if I am missing something.... When I run the VI attached below with "# of digital lines=32" Labview hangs up and I have to kill the process using the Window Task manager.  If I run it with 16 digital lines , everything is ok. If I run the application several times increasing the # of digital lines, I can get to 32 without Labview hanging up. 

 

This seems otherwordly to me....

 

Can anyone help?

 

Thanks

0 Kudos
Message 1 of 18
(3,505 Views)

I'm not sure what the "# of digital lines=32" parameter is, but I ran the code as posted with execution highlighting and the loop executed 24 time without problems. The code hung when trying to exit the loop. Yes, very strange...

 

You didn't mention what version you were using, I'm on V8.6.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 18
(3,494 Views)

One further point, the code works under V8.2.1 and the conversion routine to floating-point is meaningless. The input is an integer.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 3 of 18
(3,492 Views)

Hello,

 

I am using 8.6. WHat I am trying to do is creating an array of digital waveforms to send to as many digital line to access SRAM locations. So the number of digital waveforms in the array is the number of digital lines addressing the SRAM. Each waveform is made to keep the same address for 4 clock periods, which I need to have the right sequence to properly access the memory.

 

I had noticed to that the hung-up happend on the last loop iteration.

 

Thanks

0 Kudos
Message 4 of 18
(3,461 Views)

Hello,

 

Is this vi running in parallel with any other subvi's in your main application?

National Instruments
RIO Embedded Hardware PSE

CompactRIO Developers Guide
0 Kudos
Message 5 of 18
(3,451 Views)

Yes, but it hangs up even if I run it standalone....

 

 

0 Kudos
Message 6 of 18
(3,446 Views)

Hi,

 

It seems that your vi may be corrupt. I rebuilt the vi and it worked fine in 8.6.

 

Regards,

National Instruments
RIO Embedded Hardware PSE

CompactRIO Developers Guide
0 Kudos
Message 7 of 18
(3,417 Views)
Do you mean you created another file from scratch, with identical structure?
0 Kudos
Message 8 of 18
(3,407 Views)

Given Andrew's comment and my experience, it might be worthwhile trying to save it as a previous version (like 8.2) and then reopen it in 8.6.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 9 of 18
(3,400 Views)
How do I save it as 8.2?
0 Kudos
Message 10 of 18
(3,390 Views)