bixie

Members
  • Content Count

    11
  • Joined

  • Last visited

About bixie

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @attila thanks for all the help so far.. So, this is my code here: Exactly at "// 2.Probe" I get the file exported but it gets itself into a different folder, I want to stay it in the same folder as "// 1.Probe". So please help out. /*Code*/ if(!('Impedance1' in this)) throw "Please open the Impedance1 instrument"; if(!('Supplies' in this)) throw "Please open the Supplies instrument"; if(!('StaticIO' in this)) throw "Please open the StaticIO instrument"; //Impedance Settings Impedance1.Frequency.Samples.value=51 Impedance1.Frequency.Start
  2. @attila Could you please help?
  3. @attila it isn't exporting the files after the first time. Here: / 2.Probe print("Running pin 2, channel 2") StaticIO.Channel0.DIO[3].text = "0"; StaticIO.Channel0.DIO[4].text = "1"; StaticIO.Channel0.DIO[5].text = "1"; StaticIO.Channel0.DIO[0].text = "1"; StaticIO.Channel0.DIO[1].text = "0"; StaticIO.Channel0.DIO[2].text = "0"; Impedance1.single() wait(120) //Impedance1.Export("~/Desktop/SeeIfIWork/"dd+MM+yy"/Messung"+Index+".png") Impedance1.Export(filename) Impedance1.Export(filenametxt) Index++
  4. Hi @attila I’m facing an export problem on Probe 2, here, if(!('Impedance1' in this)) throw "Please open the Impedance1 instrument"; if(!('Supplies' in this)) throw "Please open the Supplies instrument"; if(!('StaticIO' in this)) throw "Please open the StaticIO instrument"; //Impedance Settings Impedance1.Frequency.Samples.value=51 Impedance1.Frequency.Start.value=1 Impedance1.Frequency.Stop.value=100000 Impedance1.Wavegen.Amplitude.value=0.2 Impedance1.Resistor.resistor=100 //Supplier Settings Supplies.Output.Pos
  5. Thanks! Let’s hope the issue is fixed 😁
  6. Here you'll find my code, the thing is the 2 try isn't exporting the files, and I am not able to figure out the reason. Please help. --- if(!('Impedance1' in this)) throw "Please open the Impedance1 instrument"; if(!('Supplies' in this)) throw "Please open the Supplies instrument"; if(!('StaticIO' in this)) throw "Please open the StaticIO instrument"; //Impedance Settings Impedance1.Frequency.Samples.value=51 Impedance1.Frequency.Start.value=1 Impedance1.Frequency.Stop.value=100000 Impedance1.Wavegen.Amplitude.value=0.2 Impedance
  7. Thanks a lot, is there any way to run my code every hour, like in c++ by initiating a loop`?
  8. Impedance1.Export("~/Desktop/SeeIfIWork/"#ddmmyy"/"#hh index"/Messung"+Index+".png")
  9. Hi @attila Thanks a lot! I'm also a bit confused about this part, please help I want also a folder which has time specified in side the date folder, only showing what hour it is of that day 24 h format and if there's already an existing folder with that hour eg 12, then it should have something like "12 1"
  10. i want to export my file with respect to the date and time it was created. Can anyone help. So the date and time should be as a folder Impedance1.Export("~/Desktop/SeeIfIWork/"#ddmmyy"/Messung"+Index+".png")