Jump to content

deniz

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

LabVIEW Information

  • Version
    LabVIEW 2009
  • Since
    2009

deniz's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thank you for your replies, I rewrote the code. Could you tell me how to do the state transitions? (and whether my code looks right or not?) The program gives an error when it completes the for loop. I want it to go to "1" (heat up) when it is done with the for loop. And when heating up is completed, that's thermostat is set to be on for a certain amount of time, it should go to state "2". After state "2" is done, that's stability is checked and temperature is stable, it should go to state "0" and collect data again. (but with a different file name) state_machine.vi
  2. Hello everyone, I have a code that can control the thermostat of an environmental chamber by sending 1 or 0 to a digital IO board, acquiring temperature data from a thermocouple continuously and collecting data from an optical spectrum analyzer when the temperature value (acquired temperature data) meets a certain criteria. I have combined all these into a state machine. I want to define a stabilization criteria for the temperature. I want to compare a thermocouple reading with the previous one and to see whether the temperature is stable or not. I wrote this to NI forum and somebody suggested me to use an action engine. How can I do that? http://forums.ni.com/ni/board/message?board.id=170&thread.id=448688 The flow of the program should go like that. Collect data at ambient temperature when the program is first run(as a reference). Heat the oven up. Check temperature stability. If it is stable, collect six sets of data and move on to the next temperature by heating the oven up again; and so on. I am attaching the code that I have. Any comments or suggestions about the code will be greatly appreciated. P.S: Please consider that I am a beginner at LabVIEW Thank you StandardStateMachine 1.vi automation.llb
  3. Hello everyone, I am trying to evaluate a temperature sensor.To do that I have to monitor thermocouple readings.Thermocouple is connected to FP-TC-120 temperature module. Besides, I have to acquire data from an optical spectrum analyzer. I am using 3650.VI to monitor the temperature and 86140B Trace_Screen Capture(2).llb o trace the data from the OSA. I am trying to use Invoke Node VI to trace data from spectrum analyzer. To do that I specified the necessary file path as an input to the code. The problem is the necessary VI (Write Trace to File.VI) is inside of a llb. file and needs other codes to completely function. That's when I run the code, (and when the stability condition is met) the computer asks me to save the spectrum analyzer data to a file called trace.csv. When I press ok, it just saves an empty file with a header (Power(dbm) Wavelength (nm)). Apparently it works parallely with other VI. How can I make use of the VIs inside of a .llb file with invoke node VI or should I use other VI to do combine temperature monitor VI with data tracing VI. The second problem is with the stability criterion of temperature.In the attached VI, I check whether the thermocouple reading stays within 0.8 degree stability range for 900 seconds. I want to change this. I want to check the stability of the temperature by comparing the final data with the previous ones. Is there any specific VI that should be exploited to check the fluctuations of waveforms? Thanks a lot
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.