hello_world/
hello_world.rs1use nanonis_rs::NanonisClient;
2
3fn main() -> Result<(), Box<dyn std::error::Error>> {
4 let mut client = NanonisClient::new("127.0.0.1", 6501)?;
5
6 let names = client.signal_names_get()?;
7 for (i, name) in names.iter().enumerate() {
8 println!("{}: {}", i, name);
9 }
10
11 Ok(())
12}