Jump to content

Navas

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Navas

  1. hi I have a problem with my DLL, it puts an error on the Trend and the SD when using sets .Error 1 The type or namespace name 'SD' does not exist in the namespace 'Unitronics' using Unitronics.SD.Files; using Unitronics.SD.Files.Trend; var trends = Trend.GetTrends trends (@ "C: \ Documents and Settings \ mhocine \ My Documents \ Internship Amadou \ archive.UTR"); thank you in advance
  2. HI, Who Do a function in c# that will allow myself to unpack a file extention UTR. Thank you.
  3. hi, I want to recover the file (csv or utr) my SD. Readfile void (string sourceFolderName, sourceFileName string, string TargetFolder, bool resumeRead, Unitronics .....) My problem is with the string TargetFolder. Help me please it's urgrnt void bg_com_DoWork(object sender, DoWorkEventArgs e) { Ethernet eth = new Ethernet(txt_adresse_ip.Text, 20256, EthProtocol.TCP); PLC plc = PLCFactory.GetPLC(eth, 0); SD.Folder excel1 = plc.SD.Dir(SD.SdFolder.EXCEL_EXCEL1, ".csv", false, null); int i; for (i = 0; i < excel1.Files.Count; i++) { plc.SD.ReadFile(SD.SdFolder.EXCEL_EXCEL1, excel1.Files.Name, new ProgressStatusChangedDelegate(status_changed)); tsttxt = excel1.Files.Name; } plc.SD.ReadFile(SD.SdFolder.EXCEL_EXCEL1, excel1.Files.Name, destinationFile, true, new ProgressStatusChangedDelegate(status_changed)); } void status_changed(RequestProgress requestProgress) { if (requestProgress.NotificationType == RequestProgress.en_NotificationType.ProgressChanged) { maj_progress_bar(((int)requestProgress.Percentage).ToString()); } } delegate void Callback(string s);
×
×
  • Create New...