Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

"Fatal Error #13" With GPIB (or Serial) and Measure

Primary Software: Other NI Software>>Measure
Primary Software Version: 2.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem: I was writing a Visual Basic for Applications (VBA) script for an Excel macro that was using Measure functions. When I tried to run it, I received a Fatal Error 13 in 'String To Chrs' Line #182: Type mismatch error. What caused this?

Solution: Save your script and exit Excel. Whenever you restart Excel and run your script, it should run fine. This error will occur if the VBA script server gets into a locked state that does not allow Measure functions to be executed. Restarting Excel will restart the script server and solve this problem.



Related Links: Measure Support


Attachments:





Report Date: 12/12/2000
Last Updated: 12/05/2004
Document ID: 24BDLIDM

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit